Made message signing in Cryptography use SHA512 as the message content for... #1

Closed
netkas wants to merge 421 commits from master into dev
Showing only changes of commit 3014b0b97f - Show all commits

View file

@ -26,11 +26,6 @@
return $rpcRequest->produceError(StandardError::FORBIDDEN, 'Only external peers can authenticate using this method'); return $rpcRequest->produceError(StandardError::FORBIDDEN, 'Only external peers can authenticate using this method');
} }
if($request->getSession()->isAuthenticated())
{
return $rpcRequest->produceError(StandardError::FORBIDDEN, 'External host is already authenticated');
}
SessionManager::updateFlow($request->getSession(), [SessionFlags::AUTHENTICATION_REQUIRED]); SessionManager::updateFlow($request->getSession(), [SessionFlags::AUTHENTICATION_REQUIRED]);
} }
catch(Exception $e) catch(Exception $e)