0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/users
Christian Boltz 69b3df10e4 config.inc.php
- new config option $CONF['password_validation'] - array with regular
  expressions to check if a password is valid/good enough.
  The default configuration enforces:
  - minimum length 5 characters/digits/whatever
  - at least 2 characters
  - at least 2 digits
- removed $CONF['min_password_length'] - it's now handled in /.{5}/ in
  $CONF['password_validation']

functions.inc.php
- new function validate_password to check a given password against
  $CONF['password_validation']
- generate_password: generated password is always 8 chars long
  (instead of $CONF['min_password_length'])

edit-admin.php, users/password.php, edit-mailbox.php, setup.php:
- use validate_password instead of $CONF['min_password_length']

This implements
https://sourceforge.net/tracker/?func=detail&aid=1785513&group_id=191583&atid=937967


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1192 a1433add-5e2c-0410-b055-b7f2511e0802
2011-09-25 18:39:20 +00:00
..
css - add ability to choose activation date for vacation message in user module 2009-11-08 18:49:30 +00:00
images/calendar - add some images 2009-11-08 18:51:53 +00:00
calendar.js - add ability to choose activation date for vacation message in user module 2009-11-08 18:49:30 +00:00
edit-alias.php users/edit-alias.php: 2011-07-30 21:24:24 +00:00
index.php list-virtual.php: 2010-09-26 23:14:42 +00:00
login.php Merge template for admin login and user login 2011-07-29 18:04:09 +00:00
logout.php - added/fixed vim: lines to nearly all *.php files (exception: templates/*) 2009-02-15 15:02:26 +00:00
main.php - big merge of Postfixadmin smarty into trunk 2009-11-05 14:55:39 +00:00
password.php config.inc.php 2011-09-25 18:39:20 +00:00
vacation.php Merge users/vacation.php and edit-vacation.php into vacation.php 2011-08-14 23:12:20 +00:00