diff --git a/config/globalvar.py b/config/globalvar.py index 9242919..af6bc14 100644 --- a/config/globalvar.py +++ b/config/globalvar.py @@ -1,3 +1,5 @@ +import datetime + title = "Authsquare" header = f"Welcome to {title}" copyright = "Copyright (C) 2024 Dita Aji Pratama" @@ -32,6 +34,10 @@ smtpconfig = { "from" : "user@domain.com" } +verification_link_expiration = datetime.datetime.now() + datetime.timedelta(minutes=30) +forgot_link_expiration = datetime.datetime.now() + datetime.timedelta(minutes=30) +# Can be hours or minutes + baseurl = "https://domain.com" if production == False: baseurl = "http://localhost:11000"