[git] web/master.git branch master updated. 8e3b0e5
| From: | bjori@php.net | Date: | Fri, 09 Mar 2012 07:26:42 +0000 |
| Subject: | [git] web/master.git branch master updated. 8e3b0e5 | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13202@lists.php.net to get a copy of this message | ||
The branch master on web/master.git has been updated
via 8e3b0e5e6d94e2831d13e6cdf2d5c525bd145b04 (commit)
from e8eed77f859addf8e21734139e88e261e8e889e0 (commit)
http://git.php.net/?p=web/master.git;a=log;h=8e3b0e5e6d94e2831d13e6cdf2d5c525bd145b04;hp=e8eed77f859addf8e21734139e88e261e8e889e0
Summary of changes:
manage/users.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-- Log ----------------------------------------
commit 8e3b0e5e6d94e2831d13e6cdf2d5c525bd145b04
Author: Hannes Magnusson <bjori@php.net>
Date: Thu Mar 8 23:16:25 2012 -0800
Make it possibly to remove ssh keys
diff --git a/manage/users.php b/manage/users.php
index d6b5e7b..8095681 100644
--- a/manage/users.php
+++ b/manage/users.php
@@ -146,7 +146,7 @@ if ($id && $in) {
. (!empty($in['passwd']) ? ",passwd='$in[passwd]'" :
"")
. (!empty($in['svnpasswd']) ?
",svnpasswd='$in[svnpasswd]'" : "")
. (!empty($in['md5passwd']) ?
",md5passwd='$in[md5passwd]'" : "")
- . (!empty($in['sshkey']) ? ",ssh_keys='$in[sshkey]'"
: "")
+ . (!empty($in['sshkey']) ? ",ssh_keys='$in[sshkey]'"
: ",ssh_keys=''")
. ((is_admin($user) && !empty($in['username'])) ?
",username='$in[username]'" : "")
. (is_admin($user) ? ",cvsaccess=$cvsaccess" : "")
. ",spamprotect=$spamprotect"
Thank you for your contribution.