THIS_SITE_URL="https://qa-panel.mermsemr.com"
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user