postfixadmin: Add password reset options
This commit is contained in:
parent
676464336b
commit
71df5a2159
2 changed files with 5 additions and 1 deletions
roles/postfixadmin
|
@ -52,6 +52,8 @@ postfixadmin_backup: no
|
||||||
postfixadmin_sendmail: yes
|
postfixadmin_sendmail: yes
|
||||||
postfixadmin_sendmail_all_admins: no
|
postfixadmin_sendmail_all_admins: no
|
||||||
postfixadmin_fetchmail: yes
|
postfixadmin_fetchmail: yes
|
||||||
|
postfixadmin_forgotten_user_password_reset: yes
|
||||||
|
postfixadmin_forgotten_admin_password_reset: no
|
||||||
postfixadmin_show_header_text: no
|
postfixadmin_show_header_text: no
|
||||||
postfixadmin_header_text: ':: Postfix Admin ::'
|
postfixadmin_header_text: ':: Postfix Admin ::'
|
||||||
postfixadmin_show_footer_text: yes
|
postfixadmin_show_footer_text: yes
|
||||||
|
|
|
@ -33,7 +33,9 @@ $CONF['password_validation'] = array(
|
||||||
'{{ regex }}' => '{{ error }}',
|
'{{ regex }}' => '{{ error }}',
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
);
|
);
|
||||||
$CONF['generate_password'] = '{{ postfixadmin_generate_password | ternary('YES', 'NO') }}';
|
$CONF['forgotten_user_password_reset'] = {{ postfixadmin_forgotten_user_password_reset | ternary('true', 'false') }};
|
||||||
|
$CONF['forgotten_admin_password_reset'] = {{ postfixadmin_forgotten_admin_password_reset | ternary('true', 'false') }};
|
||||||
|
$CONF['generate_password'] = '{{ postfixadmin_generate_password | ternary('YES', 'NO') }}';
|
||||||
$CONF['show_password'] = '{{ postfixadmin_show_password | ternary('YES', 'NO') }}';
|
$CONF['show_password'] = '{{ postfixadmin_show_password | ternary('YES', 'NO') }}';
|
||||||
|
|
||||||
$CONF['page_size'] = '{{ postfixadmin_page_size }}';
|
$CONF['page_size'] = '{{ postfixadmin_page_size }}';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue