Update login.php
This commit is contained in:
@@ -336,7 +336,7 @@ try {
|
|||||||
throw new Exception('Public Key for user ID not found!');
|
throw new Exception('Public Key for user ID not found!');
|
||||||
}
|
}
|
||||||
|
|
||||||
$_SESSION["registrations"]->credentialId=$row["credential_id"];
|
$_SESSION["registrations"]["credentialId"]=$row["credential_id"];
|
||||||
|
|
||||||
if ($requireResidentKey) {
|
if ($requireResidentKey) {
|
||||||
if (!isset($_SESSION['registrations']) || !is_array($_SESSION['registrations']) || count($_SESSION['registrations']) === 0) {
|
if (!isset($_SESSION['registrations']) || !is_array($_SESSION['registrations']) || count($_SESSION['registrations']) === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user