cleanup
This commit is contained in:
parent
309d60e3d7
commit
ba3da19b69
6
main.py
6
main.py
@ -10,9 +10,5 @@ def main():
|
||||
Database.init()
|
||||
DatabaseUtils.init_city_data()
|
||||
LoginMenu.display()
|
||||
|
||||
# test = InputMenu("test")
|
||||
# test.add_option("EMAIL", "email", "STR", "nick.leeman@hotmail.com", 0, 40, EMAIL_VALIDATOR)
|
||||
# test.do_input()
|
||||
# print(test.get_value("EMAIL"))
|
||||
|
||||
main()
|
@ -12,7 +12,7 @@ class LoginMenu:
|
||||
while True:
|
||||
Utils.clear_screen()
|
||||
login_form = InputMenu("Login Into Furnicur Family System")
|
||||
login_form.add_option("USERNAME", "Username", "STR", "superadmin", 1, 250, None).add_option("PASSWORD", "Password", "STR", "Admin321!", 1, 250, None).do_input()
|
||||
login_form.add_option("USERNAME", "Username", "STR", "", 1, 250, None).add_option("PASSWORD", "Password", "STR", "", 1, 250, None).do_input()
|
||||
|
||||
user = Auth.check_auth(login_form.get_value("USERNAME"), login_form.get_value("PASSWORD"))
|
||||
if user:
|
||||
|
Loading…
x
Reference in New Issue
Block a user