diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-07-16 22:50:06 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-07-16 22:50:06 +0100 |
| commit | 3d7dce6ac81aa7da0afdd90e261380003b6ad0c3 (patch) | |
| tree | 6184323959429375552b412180a5ffc848aa1ef4 /app/Module/LoginBlockModule.php | |
| parent | 2da2404e8a0bcddec6918d6d52ff6ff7f5aceb5c (diff) | |
| download | webtrees-3d7dce6ac81aa7da0afdd90e261380003b6ad0c3.tar.gz webtrees-3d7dce6ac81aa7da0afdd90e261380003b6ad0c3.tar.bz2 webtrees-3d7dce6ac81aa7da0afdd90e261380003b6ad0c3.zip | |
Fix #642 - login block cannot logout
Diffstat (limited to 'app/Module/LoginBlockModule.php')
| -rw-r--r-- | app/Module/LoginBlockModule.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/LoginBlockModule.php b/app/Module/LoginBlockModule.php index 24bb4315be..7ac481bee8 100644 --- a/app/Module/LoginBlockModule.php +++ b/app/Module/LoginBlockModule.php @@ -59,7 +59,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 = '<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 .= '<input type="submit" value="' . I18N::translate('Logout') . '">'; |
