OTPSystem/accounts.py

9 lines
280 B
Python

from db import *
class accounts:
def register(email, password):
if (db.add_account(email, password)):
print("Registered " + str(email) + " with password " + str(password))
return True
def authenticate_account(email, password):
pass