Update add_user
change password crash creation from password_hash to md5
This commit is contained in:
		
							
								
								
									
										2
									
								
								add_user
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								add_user
									
									
									
									
									
								
							@@ -14,7 +14,7 @@ $real_user = $argv[4];
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
echo "Adding new user $username\n";
 | 
					echo "Adding new user $username\n";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$passwordhash = password_hash($password);
 | 
					$passwordhash = md5($password);
 | 
				
			||||||
#$libraryID = Zotero_Libraries::add('user', 1);
 | 
					#$libraryID = Zotero_Libraries::add('user', 1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user