mirror of
https://github.com/friendica/friendica
synced 2025-04-27 18:30:12 +00:00
Avoiding some notices
This commit is contained in:
parent
0760b41fac
commit
c1dec50248
3 changed files with 6 additions and 3 deletions
|
@ -48,10 +48,10 @@ class Login extends BaseModule
|
|||
|
||||
public static function post()
|
||||
{
|
||||
$return_path = $_SESSION['return_path'];
|
||||
$return_path = defaults($_SESSION, 'return_path', '');
|
||||
session_unset();
|
||||
$_SESSION['return_path'] = $return_path;
|
||||
|
||||
|
||||
// OpenId Login
|
||||
if (
|
||||
empty($_POST['password'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue