mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07: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
|
@ -47,7 +47,10 @@ class Login extends BaseModule
|
|||
|
||||
public static function post()
|
||||
{
|
||||
$return_url = $_SESSION['return_url'];
|
||||
session_unset();
|
||||
$_SESSION['return_url'] = $return_url;
|
||||
|
||||
// OpenId Login
|
||||
if (
|
||||
empty($_POST['password'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue