X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FDelegation.php;h=c14573c8b330c9a76e55384ac6e31d6e44938aa1;hb=bbda69a736de66d689f449604e8643f7e755865f;hp=12f8c5074cbe26db122cd2f27a17a22560071c0d;hpb=7d7d310cc4f8661751fd2a62e33405c98f78aa62;p=friendica.git diff --git a/src/Module/Delegation.php b/src/Module/Delegation.php index 12f8c5074c..c14573c8b3 100644 --- a/src/Module/Delegation.php +++ b/src/Module/Delegation.php @@ -1,6 +1,6 @@ redirect('profile/' . DI::app()->getLoggedInUserNickname()); - // NOTREACHED + notice($this->t('You are now logged in as %s', $user['username'])); + + DI::baseUrl()->redirect('network'); } - public static function content(array $parameters = []) + protected function content(array $request = []): string { if (!local_user()) { throw new ForbiddenException(DI::l10n()->t('Permission denied.'));