mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Bugfix: Avoid inadvertent link loop for bots on login page
This commit is contained in:
parent
e4eee4e281
commit
23f526baaa
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ class page_renderer
|
|||
}
|
||||
else {
|
||||
$returnto_url = $env->action !== "logout" ? $_SERVER["REQUEST_URI"] : "?action=view&page=" . rawurlencode($settings->defaultpage);
|
||||
$result .= "<span class='not-logged-in'><a href='index.php?action=login&returnto=" . rawurlencode($returnto_url) . "'>Login</a></span>";
|
||||
$result .= "<span class='not-logged-in'><a href='index.php?action=login&returnto=" . rawurlencode($returnto_url) . "' rel='nofollow'>Login</a></span>";
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue