Removed unnecessary check
This commit is contained in:
parent
8c2cbf48d5
commit
3014b0b97f
1 changed files with 0 additions and 5 deletions
|
@ -26,11 +26,6 @@
|
|||
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]);
|
||||
}
|
||||
catch(Exception $e)
|
||||
|
|
Loading…
Add table
Reference in a new issue