Commit d5b4e069 authored by Gladys Forte's avatar Gladys Forte

new user url

parent 868ba167
...@@ -20,7 +20,7 @@ def account_created(args): ...@@ -20,7 +20,7 @@ def account_created(args):
FC = FC.replace('{name}', name) FC = FC.replace('{name}', name)
FC = FC.replace('{username}', username) FC = FC.replace('{username}', username)
FC = FC.replace('{password}', password) FC = FC.replace('{password}', password)
FC = FC.replace('[URL]', settings.FRONT_END_URL) FC = FC.replace('{url}', settings.FRONT_END_URL + '/cms/profile')
try: try:
send_mail( send_mail(
subject='OB RMS: Welcome!', subject='OB RMS: Welcome!',
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<b>Username</b><br>{username}<br><br> <b>Username</b><br>{username}<br><br>
<b>Password</b><br>{password}<br><br> <b>Password</b><br>{password}<br><br>
<p>You may change your password through the <u><a href="http://staging.rms.oneberrysystem.com/cms/profile/" style="text-decoration:underline;color:#007bff;" target="_blank">my profile</a></u> section of RMS any time.</p><br> <p>You may change your password through the <u><a href="{url}" style="text-decoration:underline;color:#007bff;" target="_blank">my profile</a></u> section of RMS any time.</p><br>
<p>Sincerely,</p> <p>Sincerely,</p>
<p>RMS Team</p><br><br> <p>RMS Team</p><br><br>
......
...@@ -6,7 +6,7 @@ DATABASE_PASSWORD = ...@@ -6,7 +6,7 @@ DATABASE_PASSWORD =
DATABASE_HOST = DATABASE_HOST =
DATABASE_PORT = DATABASE_PORT =
SESSION_TIMEOUT = SESSION_TIMEOUT =
FRONT_END_URL = http://devweb.rmsv2.oneberrysystem.com FRONT_END_URL = http://staging.rms.oneberrysystem.com
AUTH_ACCESSS_TOKEN_TIMEOUT = AUTH_ACCESSS_TOKEN_TIMEOUT =
USER_DEFAULT_PASSWORD = USER_DEFAULT_PASSWORD =
CATCH_EMAIL = gladys@tirsolutions.com CATCH_EMAIL = gladys@tirsolutions.com
...@@ -21,7 +21,7 @@ DATABASE_PASSWORD = ...@@ -21,7 +21,7 @@ DATABASE_PASSWORD =
DATABASE_HOST = DATABASE_HOST =
DATABASE_PORT = DATABASE_PORT =
SESSION_TIMEOUT = SESSION_TIMEOUT =
FRONT_END_URL = http://devweb.rmsv2.oneberrysystem.com FRONT_END_URL = http://staging.rms.oneberrysystem.com
AUTH_ACCESSS_TOKEN_TIMEOUT = AUTH_ACCESSS_TOKEN_TIMEOUT =
USER_DEFAULT_PASSWORD = USER_DEFAULT_PASSWORD =
CATCH_EMAIL = gladys@tirsolutions.com CATCH_EMAIL = gladys@tirsolutions.com
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment