diff --git a/src/Socialbox/Classes/StandardMethods/VerificationPasswordAuthentication.php b/src/Socialbox/Classes/StandardMethods/VerificationPasswordAuthentication.php index 4bd4604..7108403 100644 --- a/src/Socialbox/Classes/StandardMethods/VerificationPasswordAuthentication.php +++ b/src/Socialbox/Classes/StandardMethods/VerificationPasswordAuthentication.php @@ -42,7 +42,11 @@ try { $result = PasswordManager::verifyPassword($request->getPeer()->getUuid(), $rpcRequest->getParameter('password')); - SessionManager::updateFlow($request->getSession(), [SessionFlags::VER_PASSWORD]); + + if($result) + { + SessionManager::updateFlow($request->getSession(), [SessionFlags::VER_PASSWORD]); + } } catch (CryptographyException) {