Added a config parameter for change password template

This commit is contained in:
sanek
2013-11-22 18:02:35 +04:00
parent 75794d5527
commit e0881ed6a0
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ def change_password():
if request.json:
return _render_json(form)
return render_template('security/change_password.html',
return render_template(config_value('CHANGE_PASSWORD_TEMPLATE'),
change_password_form=form,
**_ctx('change_password'))