mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +00:00
Save return_url before login. Add login mask to many sites if not logged in.
This commit is contained in:
parent
772d735f12
commit
28456de249
7 changed files with 15 additions and 6 deletions
|
@ -12,6 +12,7 @@ use Friendica\Core\NotificationsManager;
|
|||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Module\Login;
|
||||
|
||||
function notifications_post(App $a)
|
||||
{
|
||||
|
@ -65,7 +66,7 @@ function notifications_content(App $a)
|
|||
{
|
||||
if (!local_user()) {
|
||||
notice(L10n::t('Permission denied.') . EOL);
|
||||
return;
|
||||
return Login::form();
|
||||
}
|
||||
|
||||
$page = defaults($_REQUEST, 'page', 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue