Don't login or create an empty account if the user doesn't exist

pull/1958/head
devnull- 2017-02-16 18:29:36 +01:00
parent 50d70a1523
commit a40c0c456a
1 changed files with 4 additions and 1 deletions

View File

@ -187,7 +187,10 @@ class CertificateAuthenticate extends BaseAuthenticate
CakeLog::write('alert', 'Could not insert model at database from RestAPI data.');
}
unset($org);
}
} else {
// No match -- User doesn't exist !!!
self::$user = false;
}
unset($U, $User, $q, $k);
}
unset($cn);