We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f00d16 commit 9647214Copy full SHA for 9647214
app/bootstrap.php
@@ -58,11 +58,13 @@
58
// Auth done, now set the navigation
59
$navdata['login']['loggedin']=false;
60
$navdata['admin']['visible']=false;
61
+$navdata['showreg'] = $Settings['security']['allowregister'];
62
63
64
65
if ($auth->isLoggedIn()) {
66
$navdata['login']['loggedin']=true;
67
+ $navdata['showreg'] = false;
68
$_SESSION['isadmin'] = false;
69
$navdata['login']['displayname'] = $auth->getUsername();
70
for ($x=0;$x < count($Settings['admin']['adminroles']);$x++) {
0 commit comments