From 0b2f13b8c86df38c0257c952072f942b4325a9d7 Mon Sep 17 00:00:00 2001 From: estevam5s Date: Thu, 11 May 2023 04:12:52 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8D=20python=20file=20modified?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🐍 python file modified --- client/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/setup.py b/client/setup.py index e6ed1fbd8..b539f9c2f 100644 --- a/client/setup.py +++ b/client/setup.py @@ -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()