RajaThor commited on
Commit
9abe7b9
·
verified ·
1 Parent(s): 2b6dca9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def authenticate_user(email, password):
51
  except firebase_admin.auth.UserNotFoundError as e:
52
  print(f"User not found error: {str(e)}")
53
  return False, None
54
- except firebase_admin.auth.InvalidPasswordError as e:
55
  print(f"Invalid password error: {str(e)}")
56
  return False, None
57
  except Exception as e:
 
51
  except firebase_admin.auth.UserNotFoundError as e:
52
  print(f"User not found error: {str(e)}")
53
  return False, None
54
+ except ValueError as e:
55
  print(f"Invalid password error: {str(e)}")
56
  return False, None
57
  except Exception as e: