[geeklog-cvs] Auth_Enterprise/Server/providers AEBaseServerProvider.class.php,1.1.1.1,1.2
tony at iowaoutdoors.org
tony at iowaoutdoors.org
Thu Jun 17 01:35:00 EDT 2004
Update of /var/cvs/Auth_Enterprise/Server/providers
In directory www:/tmp/cvs-serv6486
Modified Files:
AEBaseServerProvider.class.php
Log Message:
Added resetPassword
Index: AEBaseServerProvider.class.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Server/providers/AEBaseServerProvider.class.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AEBaseServerProvider.class.php 15 Jun 2004 15:19:27 -0000 1.1.1.1
--- AEBaseServerProvider.class.php 17 Jun 2004 05:34:58 -0000 1.2
***************
*** 67,97 ****
/**
- * Verifies that the given password meets our password requirements
- *
- * @author Tony Bibbs <tony at geeklog.net>
- * @access private
- * @param string $password Password to check
- * @return boolean
- * @todo This should use regex but I'm too lazy to do so now
- */
- protected function passwordIsValid($password)
- {
- global $gConf;
-
- // First check the length
- if (strlen($password) < $gConf[AE_PROVIDER_PEAR_DB]['passwordminlength']) {
- return false;
- }
-
- // Now check for a number
-
- // Now check for special character
-
- // Now check for upper and lower case
-
- return true;
- }
-
- /**
* Authenticates a user to an application
*
--- 67,70 ----
***************
*** 139,142 ****
--- 112,128 ----
/**
+ * Resets a user's password
+ *
+ * @author Tony Bibbs <tony at geeklog.net>
+ * @access public
+ * @param string $userName User to reset password for
+ * @return string New password
+ *
+ */
+ public function resetPassword($userName)
+ {
+ }
+
+ /**
* Gets the application privileges for a given user
*
More information about the geeklog-cvs
mailing list