Browse Source

When logging in via cookie, don't forget the 'manual' flag.

acma
Fabian Kurz 2 years ago
parent
commit
82e077d394
  1. 1
      index.php

1
index.php

@ -432,6 +432,7 @@ else {
$_SESSION['id'] = $user->id;
$_SESSION['callsign'] = $user->callsign;
$_SESSION['email'] = $user->email;
$_SESSION['manual'] = $user->manual;
error_log("successful login of ".$user->callsign." (via cookie)");
?>
<a href="/">Welcome back... Click here if you are not logged in automatically.</a>

Loading…
Cancel
Save