forked from open-webui/open-webui
		
	fix: update password
This commit is contained in:
		
							parent
							
								
									500f61b7ee
								
							
						
					
					
						commit
						d5bc54b8f8
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -118,8 +118,8 @@ class AuthsTable: | |||
|         try: | ||||
|             query = Auth.update(password=new_password).where(Auth.id == id) | ||||
|             result = query.execute() | ||||
|             print(result) | ||||
|             return True | ||||
| 
 | ||||
|             return True if result == 1 else False | ||||
|         except: | ||||
|             return False | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek