Commit f79fc248 authored by John Red Medrano's avatar John Red Medrano

change title and link on change password admin level

parent a7432218
...@@ -132,10 +132,10 @@ def admin_changepassword(args): ...@@ -132,10 +132,10 @@ def admin_changepassword(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)
send_mail( send_mail(
subject='OB RMS: Password Changed!', subject='OB RMS: Password Changed',
message='', message='',
from_email=settings.EMAIL_DEFAULT_SENDER, from_email=settings.EMAIL_DEFAULT_SENDER,
recipient_list=[recipient, admin,], recipient_list=[recipient, admin,],
......
...@@ -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>
......
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