##// 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:

r2105:4ad1a937 default
r2192:a51e727d stable
Show More
settings_issuetracker.mako
34 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
<%namespace name="its" file="/base/issue_tracker_settings.mako"/>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Issue Tracker / Wiki Patterns')}</h3>
</div>
<div class="panel-body">
${h.secure_form(url('admin_settings_issuetracker_save'), method='post')}
${its.issue_tracker_settings_table(
patterns=c.issuetracker_entries.items(),
form_url=url('admin_settings_issuetracker'),
delete_url=url('admin_issuetracker_delete')
)}
<div class="buttons">
<button type="submit" class="btn btn-primary" id="save">${_('Save')}</button>
<button type="reset" class="btn">${_('Reset')}</button>
</div>
${h.end_form()}
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Test Patterns')}</h3>
</div>
<div class="panel-body">
${its.issue_tracker_new_row()}
${its.issue_tracker_settings_test(test_url=url('admin_issuetracker_test'))}
</div>
</div>