This commit is contained in:
CHIEFSOFT\ameye
2025-08-04 19:23:56 -04:00
parent 7f37f25c77
commit 58f587619e
9 changed files with 21 additions and 10 deletions
+2 -1
View File
@@ -30,6 +30,7 @@ class RegisterService(BaseService):
SEND_EMAIL_FROM = Config.SEND_EMAIL_FROM
SEND_EMAIL_PASS = Config.SEND_EMAIL_PASS
THIS_SITE_URL = Config.THIS_SITE_URL
@staticmethod
def encrypt_password(self, password):
@@ -205,7 +206,7 @@ def send_register_mail(signup_email, pending_uid,pending_id,firstname, lastname)
{"user": pending_member, 'exp' : datetime.datetime.utcnow() + datetime.timedelta(minutes=3330)},
RegisterService.JWT_SECRET_KEY, algorithm='HS256'
)
panel_url = "https://qa-panel.mermsemr.com"
panel_url = panel_url = RegisterService.THIS_SITE_URL # "https://qa-panel.mermsemr.com"
link_url= str(panel_url) + '/csignup/' + jwt_part
msg_body = f"""