1
0
Fork 0

Save return_url before login. Add login mask to many sites if not logged in.

This commit is contained in:
Jonny Tischbein 2018-10-07 16:34:08 +02:00
commit 28456de249
7 changed files with 15 additions and 6 deletions

View file

@ -20,6 +20,7 @@ use Friendica\Model\Profile;
use Friendica\Network\Probe;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Temporal;
use Friendica\Module\Login;
function profiles_init(App $a) {
@ -509,7 +510,7 @@ function profiles_content(App $a) {
if (! local_user()) {
notice(L10n::t('Permission denied.') . EOL);
return;
return Login::form();
}
$o = '';