##// END OF EJS Templates
security: limit the maximum password lenght to 72 characters to prevent possible...
security: limit the maximum password lenght to 72 characters to prevent possible server side resource consumption attack. - bcrypt heavy computation can lead to DOS using a very long password .eg 10**8 lenght. - we allowed this on registration or on password update

File last commit:

r1728:49fb0cec default
r2192:a51e727d stable
Show More
password_reset_confirmation.mako
29 lines | 711 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,whitespace_filter">
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>