OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cfd1ec
)
Fix uninitialized variable access
author
umorigu
<umorigu@gmail.com>
Fri, 19 Feb 2016 13:43:46 +0000
(22:43 +0900)
committer
umorigu
<umorigu@gmail.com>
Fri, 19 Feb 2016 15:05:31 +0000
(
00:05
+0900)
lib/auth.php
patch
|
blob
|
history
diff --git
a/lib/auth.php
b/lib/auth.php
index
41fc009
..
271da4c
100644
(file)
--- a/
lib/auth.php
+++ b/
lib/auth.php
@@
-301,7
+301,7
@@
function ensure_valid_auth_user()
header('HTTP/1.0 401 Unauthorized');
}
$auth_user = '';
- $auth_user_groups =
get_groups_from_username($user
);
+ $auth_user_groups =
array(
);
return true; // no auth input
}
case AUTH_TYPE_FORM: