Made message signing in Cryptography use SHA512 as the message content for... #1
1 changed files with 5 additions and 1 deletions
|
@ -42,7 +42,11 @@
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$result = PasswordManager::verifyPassword($request->getPeer()->getUuid(), $rpcRequest->getParameter('password'));
|
$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)
|
catch (CryptographyException)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue