com web/master: adding myself to the list of people allowed to modify other users. easier to change passwords, and I could already do it through mysql
directly: manage/users.php
| From: | Ferenc Kovacs | Date: | Thu, 24 Oct 2013 17:31:01 +0000 |
| Subject: | com web/master: adding myself to the list of people allowed to modify other users. easier to change passwords, and I could already do it through mysql directly: manage/users.php |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-16944@lists.php.net to get a copy of this message | ||
Commit: 853ee761ce71e6e2078fd151fb7fc0bb5df7dc23
Author: Ferenc Kovacs <tyra3l@gmail.com> Thu, 24 Oct 2013 19:31:01 +0200
Parents: bc3af053726e959339eb509376e41a37165856a1
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=853ee761ce71e6e2078fd151fb7fc0bb5df7dc23
Log:
adding myself to the list of people allowed to modify other users. easier to change passwords, and I
could already do it through mysql directly
Changed paths:
M manage/users.php
Diff:
diff --git a/manage/users.php b/manage/users.php
index 23ddd65..26ca199 100644
--- a/manage/users.php
+++ b/manage/users.php
@@ -513,7 +513,7 @@ function invalid_input($in) {
function is_admin($user) {
#TODO: use acls, once implemented.
- if
(in_array($user,array("jimw","rasmus","andrei","zeev","andi","sas","thies","rubys","ssb",
"wez", "philip", "davidc",
"helly","derick","bjori", "pajoye", "danbrown",
"felipe", "johannes" ))) return true;
+ if
(in_array($user,array("jimw","rasmus","andrei","zeev","andi","sas","thies","rubys","ssb",
"wez", "philip", "davidc",
"helly","derick","bjori", "pajoye", "danbrown",
"felipe", "johannes", "tyrael" ))) return true;
}
# returns false if $user is not allowed to modify $userid