[geeklog-cvs] Auth_Enterprise/Client AELocalhostClient.class.php,1.2,1.3
tony at iowaoutdoors.org
tony at iowaoutdoors.org
Thu Jun 17 01:36:32 EDT 2004
Update of /var/cvs/Auth_Enterprise/Client
In directory www:/tmp/cvs-serv6603
Modified Files:
AELocalhostClient.class.php
Log Message:
Implemented resetPassword
Index: AELocalhostClient.class.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Client/AELocalhostClient.class.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AELocalhostClient.class.php 16 Jun 2004 05:26:31 -0000 1.2
--- AELocalhostClient.class.php 17 Jun 2004 05:36:30 -0000 1.3
***************
*** 144,147 ****
--- 144,164 ----
{
$provider = $this->getServerProvider();
+
+ try {
+ $provider->changePasswordByAdmin($adminUserName, $adminPassword, $userName, $newPassword);
+ } catch (AEPasswordInvalid $e) {
+ die($e->getMessage());
+ }
+ }
+
+ public function resetPassword($userName)
+ {
+ $provider = $this->getServerProvider();
+
+ try {
+ return $provider->resetPassword($userName);
+ } catch (AEPasswordInvalid $e) {
+ die($e->getMessage());
+ }
}
More information about the geeklog-cvs
mailing list