git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
auth: store global user metadata in User object
[minimedit.git]
/
login
/
index.php
diff --git
a/login/index.php
b/login/index.php
index c7d705df7c2c69a337a001383591dc12877df3ab..9ebc4cb846159ef04c715e922f9f46d90ef84ec2 100644
(file)
--- a/
login/index.php
+++ b/
login/index.php
@@
-61,7
+61,7
@@
if (isset($_REQUEST['goto'])) {
exit;
}
-if (empty($Args) and
!empty($User['admin'])
) {
+if (empty($Args) and
$User and $User->admin
) {
include_once 'login/admin.html';
}