mirror of
https://github.com/friendica/friendica
synced 2024-11-10 08:22:57 +00:00
Redirect to network page after delegation switch
- Add a notice with the switched account name
This commit is contained in:
parent
f4907a48d8
commit
f212df79e5
1 changed files with 3 additions and 2 deletions
|
@ -108,8 +108,9 @@ class Delegation extends BaseModule
|
|||
$ret = [];
|
||||
Hook::callAll('home_init', $ret);
|
||||
|
||||
DI::baseUrl()->redirect('profile/' . DI::app()->getLoggedInUserNickname());
|
||||
// NOTREACHED
|
||||
notice($this->t('You are now logged in as %s', $user['username']));
|
||||
|
||||
DI::baseUrl()->redirect('network');
|
||||
}
|
||||
|
||||
protected function content(array $request = []): string
|
||||
|
|
Loading…
Reference in a new issue