OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix uninitialized variable access
[pukiwiki/pukiwiki.git]
/
lib
/
auth.php
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: