diff options
author | deva <deva> | 2010-02-28 10:23:01 +0000 |
---|---|---|
committer | deva <deva> | 2010-02-28 10:23:01 +0000 |
commit | 7891a55bf66fdf38ffa515dd8c00f740096a670a (patch) | |
tree | d1dd11cc8b8f313b1af48367deb8624739e8b603 /utils/admin_user.php | |
parent | 136e624d8c97f55e88d57ce05b3ac0e535afbf3e (diff) |
Remove old user/users admin files.
Diffstat (limited to 'utils/admin_user.php')
-rw-r--r-- | utils/admin_user.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/utils/admin_user.php b/utils/admin_user.php deleted file mode 100644 index 42ed784..0000000 --- a/utils/admin_user.php +++ /dev/null @@ -1,32 +0,0 @@ -<h2>Password</h2> -<?php -include_once($UTIL_DIR."/user.php"); -include_once($UTIL_DIR."/convert.php"); - -if($task == "setpassword") { - $users = new Users($DATA_DIR . "/users.xml"); - $user = $users->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(); -} -?> - -<div class="small_header">Change password</div> -<form method="post" action="?page=admin&module=user&task=setpassword"> - <p> - Old password: - <input type="password" name="oldpassword" style="width: 100px;" value=""/ - </p> - <p> - New password: - <input type="password" name="password1" style="width: 100px;" value=""/> - </p> - <p> - Confirm password: - <input type="password" name="password2" style="width: 100px;" value=""/> - </p> - <p> - <button type="submit">Change password</button> - </p> -</form> |