We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit b80b0d65 authored by Evan Prodromou's avatar Evan Prodromou

use correct redirect on logout of single-user site

parent fc3d52c1
......@@ -73,7 +73,13 @@ class LogoutAction extends Action
Event::handle('EndLogout', array($this));
common_redirect(common_local_url('public'), 303);
if (common_config('singleuser', 'enabled')) {
$user = User::singleUser();
array('nickname' => $user->nickname)));
} else {
common_redirect(common_local_url('public'), 303);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment