[geeklog-cvs] Auth_Enterprise/Client AEClient.class.php,1.1.1.1,1.2

tony at iowaoutdoors.org tony at iowaoutdoors.org
Thu Jun 17 01:37:14 EDT 2004


Update of /var/cvs/Auth_Enterprise/Client
In directory www:/tmp/cvs-serv6653

Modified Files:
	AEClient.class.php 
Log Message:
Added resetPassword

Index: AEClient.class.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Client/AEClient.class.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AEClient.class.php	15 Jun 2004 15:19:27 -0000	1.1.1.1
--- AEClient.class.php	17 Jun 2004 05:37:12 -0000	1.2
***************
*** 161,164 ****
--- 161,181 ----
      
      /**
+     * Resets a user's password to a randomly generated one
+     *
+     * @author Tony Bibbs <tony at geeklog.net>
+     * @access public
+     * @return string New randomly generated password
+     *
+     */
+     public function resetPassword($userName)
+     {
+         try {
+             return $this->clientProvider->resetPassword($userName);
+         } catch (Exception $error) {
+             die($error->getMessage());
+         }
+     }
+     
+     /**
      * Gets the application privileges for a given user
      *




More information about the geeklog-cvs mailing list