]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Delegation.php
Merge pull request #11360 from annando/announce-notification
[friendica.git] / src / Module / Delegation.php
index bc3c72e8d008c8b9d248fe9ed4868219930a5dcb..c14573c8b330c9a76e55384ac6e31d6e44938aa1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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