##// END OF EJS Templates
auth: the correct prefixes for python bcrypt are $2a or $2b....
auth: the correct prefixes for python bcrypt are $2a or $2b. handle the 2b too for consistency.

File last commit:

r1471:9ea7077d default
r1626:a402cae5 default
Show More
password_reset_confirmation.mako
29 lines | 693 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / email_templates / password_reset_confirmation.mako
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim">
Your new RhodeCode password
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
Hi ${user.username},
Below is your new access password for RhodeCode.
*If you didn't do this, please contact your RhodeCode administrator.*
password: ${new_password}
${self.plaintext_footer()}
</%def>
## BODY GOES BELOW
<p>
Hello ${user.username},
</p><p>
Below is your new access password for RhodeCode.
<br/>
<strong>If you didn't request a new password, please contact your RhodeCode administrator.</strong>
</p>
<p>password: <pre>${new_password}</pre>