diff options
| author | cassio <cassiopc@gmail.com> | 2014-10-26 19:24:34 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2014-10-26 19:24:34 +0000 |
| commit | d59c06c17ac044845ed269220d8874ca62c7b254 (patch) | |
| tree | 71d9618774d548e23e98e32278515791dc68f100 /src | |
| parent | 8e7d5ce7a38b50a089f83e5d4929404229f39656 (diff) | |
| download | boca-d59c06c17ac044845ed269220d8874ca62c7b254.tar.gz boca-d59c06c17ac044845ed269220d8874ca62c7b254.zip | |
default to allow passwd changes
Diffstat (limited to 'src')
| -rw-r--r-- | src/admin/user.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/admin/user.php b/src/admin/user.php index 3a1c032..b19c0d0 100644 --- a/src/admin/user.php +++ b/src/admin/user.php @@ -1,7 +1,7 @@ <?php //////////////////////////////////////////////////////////////////////////////// //BOCA Online Contest Administrator -// Copyright (C) 2003-2013 by BOCA Development Team (bocasystem@gmail.com) +// Copyright (C) 2003-2014 by BOCA Development Team (bocasystem@gmail.com) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -15,7 +15,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. //////////////////////////////////////////////////////////////////////////////// -// Last modified 20/sep/2013 by cassio@ime.usp.br +// Last modified 26/oct/2014 by cassio@ime.usp.br +// allow passwords to be changed by default +// require('header.php'); if (isset($_GET["site"]) && isset($_GET["user"]) && is_numeric($_GET["site"]) && is_numeric($_GET["user"]) && @@ -49,6 +51,7 @@ if (isset($_POST["username"]) && isset($_POST["userfullname"]) && isset($_POST[" $param['type'] = htmlspecialchars($_POST["usertype"]); $param['permitip'] = htmlspecialchars($_POST["userip"]); $param['contest'] = $_SESSION["usertable"]["contestnumber"]; + $param['changepass']='t'; /* $param['user'] = myhtmlspecialchars($_POST["usernumber"]); $param['site'] = myhtmlspecialchars($_POST["usersitenumber"]); |