summaryrefslogtreecommitdiff
path: root/app/Module/LoginBlockModule.php
diff options
context:
space:
mode:
authorJonathan Jaubart <dev@jaubart.com>2016-02-20 15:24:06 +0000
committerJonathan Jaubart <dev@jaubart.com>2016-02-20 15:24:06 +0000
commit9818b2fb2e120b58d8c8a1609d538ddcc5853cf9 (patch)
treeaac8d65a43bab49823acd499682939db375736cb /app/Module/LoginBlockModule.php
parent22fcb44a02f0d7a6009991fa8d2860fd6aa497c4 (diff)
downloadwebtrees-9818b2fb2e120b58d8c8a1609d538ddcc5853cf9.tar.gz
webtrees-9818b2fb2e120b58d8c8a1609d538ddcc5853cf9.tar.bz2
webtrees-9818b2fb2e120b58d8c8a1609d538ddcc5853cf9.zip
Wrong path to edituser in Login Block
When authenticated, the link behind the "logged in as user" points to a wrong URL: it is `..\..\edituser.php` instead of simply `edituser.php`
Diffstat (limited to 'app/Module/LoginBlockModule.php')
-rw-r--r--app/Module/LoginBlockModule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/LoginBlockModule.php b/app/Module/LoginBlockModule.php
index abab215234..2208122ed7 100644
--- a/app/Module/LoginBlockModule.php
+++ b/app/Module/LoginBlockModule.php
@@ -60,7 +60,7 @@ class LoginBlockModule extends AbstractModule implements ModuleBlockInterface {
if (Auth::check()) {
$title = I18N::translate('Logout');
$content = '<div class="center"><form method="post" action="logout.php" name="logoutform" onsubmit="return true;">';
- $content .= '<br><a href="../../edituser.php" class="name2">' . I18N::translate('Logged in as ') . ' ' . Auth::user()->getRealNameHtml() . '</a><br><br>';
+ $content .= '<br><a href="edituser.php" class="name2">' . I18N::translate('Logged in as ') . ' ' . Auth::user()->getRealNameHtml() . '</a><br><br>';
$content .= '<input type="submit" value="' . I18N::translate('Logout') . '">';
$content .= '<br><br></form></div>';