git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
login: return success status to whatsapp crawler
[minimedit.git]
/
login
/
edit
/
index.php
diff --git
a/login/edit/index.php
b/login/edit/index.php
index 2ba0cf38711729942f86ba353ab8db1c59207055..a8684bf6a2d616b9d801a0a2f1ab866dea00ac29 100644
(file)
--- a/
login/edit/index.php
+++ b/
login/edit/index.php
@@
-1,5
+1,6
@@
<?php
if ($Page->path and $User->admin('user')) {
+ global $user;
$user = new User(strtolower("profile{$Page->path}"), FALSE);
print $Page->widget('login/admin');
$Page->title = "Profiel <em>{$user->login}</em>";