From cce5e7710295021b41d9aaecc503a60fb99256be Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 4 Oct 2008 10:38:03 +0000 Subject: Initial revision --- utils/admin_user.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 utils/admin_user.php (limited to 'utils/admin_user.php') diff --git a/utils/admin_user.php b/utils/admin_user.php new file mode 100644 index 0000000..42ed784 --- /dev/null +++ b/utils/admin_user.php @@ -0,0 +1,32 @@ +

Password

+findUser($HTTP_COOKIE_VARS["UserID"]); + $user->setPassword($oldpassword, $password1, $password2); + $users->add($user); // We need to update the user after changing the password! + $users->write(); +} +?> + +
Change password
+
+

+ Old password: + +

+ New password: + +

+

+ Confirm password: + +

+

+ +

+
-- cgit v1.2.3