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
|
@ -22,6 +22,7 @@ use Friendica\Model\User;
|
|||
use Friendica\Protocol\Email;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\Temporal;
|
||||
use Friendica\Module\Login;
|
||||
|
||||
function get_theme_config_file($theme)
|
||||
{
|
||||
|
@ -658,7 +659,7 @@ function settings_content(App $a)
|
|||
|
||||
if (!local_user()) {
|
||||
//notice(L10n::t('Permission denied.') . EOL);
|
||||
return;
|
||||
return Login::form();
|
||||
}
|
||||
|
||||
if (x($_SESSION, 'submanage') && intval($_SESSION['submanage'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue