Skip to content

Commit

Permalink
🐍 python file modified
Browse files Browse the repository at this point in the history
🐍 python file modified
  • Loading branch information
estevam5s committed May 11, 2023
1 parent 3308c34 commit 0b2f13b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def to_dataframe(db):
dataDetaReservas = to_dataframe(db_deta_reservas)
dataDetaFuncionarios = to_dataframe(db_deta_funcionarios)


def authenticate_user(username, password):
"""Verifica se o usuário e senha informados são válidos."""
return (users_data["usernames"] == username).any() and (users_data["passwords"] == password).any()
Expand Down

0 comments on commit 0b2f13b

Please sign in to comment.