[geeklog-cvs] Auth_Enterprise/Server AEServerConfig.php,1.1.1.1,1.2

tony at iowaoutdoors.org tony at iowaoutdoors.org
Wed Jun 16 19:14:47 EDT 2004


Update of /var/cvs/Auth_Enterprise/Server
In directory www:/tmp/cvs-serv21206

Modified Files:
	AEServerConfig.php 
Log Message:
Added options for password rules

Index: AEServerConfig.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Server/AEServerConfig.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AEServerConfig.php	15 Jun 2004 15:19:27 -0000	1.1.1.1
--- AEServerConfig.php	16 Jun 2004 23:14:45 -0000	1.2
***************
*** 36,39 ****
--- 36,53 ----
  );
  
+ // Global password rule settings
+ 
+ // Indicates if at least one lower case character is required in passwords
+ $gConf['pw_require_lower']        = 1;
+ // Indicates if at least one upper case character is required in passwords
+ $gConf['pw_require_upper']        = 1;
+ // Indicates if at least one numeric character is required in passwords
+ $gConf['pw_require_number']       = 1;
+ // Indicates if at least one special character is required in passwords
+ $gConf['pw_require_special_char'] = 1;
+ // This sets the set of possible special characters that can be used in a password
+ $gConf['pw_special_chars']        = array('!','@','#','$','^','&','(',')','_','-'); 
+ 
+ 
  // Settings for the PEAR DB provider
  $gConf[AE_PROVIDER_PEAR_DB]['dbms']               = 'mysql';
***************
*** 50,53 ****
  // Sets the number of days a password is good for.  Set to 0 to disable password expiration
  $gConf[AE_PROVIDER_PEAR_DB]['passwordexpiration'] = 30;
!     
  ?>
\ No newline at end of file
--- 64,70 ----
  // Sets the number of days a password is good for.  Set to 0 to disable password expiration
  $gConf[AE_PROVIDER_PEAR_DB]['passwordexpiration'] = 30;
! 
! 
! // Settings for the LDAP Provider
! 
  ?>
\ No newline at end of file




More information about the geeklog-cvs mailing list