-
Notifications
You must be signed in to change notification settings - Fork 0
Examples
ConnorC18 edited this page Mar 24, 2019
·
5 revisions
from loginSystem import * # Loads the login library
signup() # Will return True or the error message thrown by the function
login() # Will return True or "incorrectinfo" or "noaccount" depending on the error.
checkLoggedIn() # Will return True of False
passwordReset() # Will return True or "noemail" or "wrongsecurityquestionanswer"
print(sessionInfo["username"]) # Will return the current logged in users, username
print(logout()) # Will return True or "notloggedin"
WRITE LIKE: IF STATMENTS AND STUFF