don't show logout link on 'home' link if remote_user
This commit is contained in:
parent
0d9ed48738
commit
118f1d7e0a
2
boot.php
2
boot.php
|
@ -762,7 +762,7 @@ function login($register = false) {
|
||||||
$lostpass = t('Forgot your password?');
|
$lostpass = t('Forgot your password?');
|
||||||
$lostlink = t('Password Reset');
|
$lostlink = t('Password Reset');
|
||||||
|
|
||||||
if(x($_SESSION,'authenticated')) {
|
if(local_user())) {
|
||||||
$tpl = load_view_file("view/logout.tpl");
|
$tpl = load_view_file("view/logout.tpl");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue