Skip to content
Snippets Groups Projects
Commit 1aa3e8a0 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

server account manager: return after failure

Change-Id: I1eba92ae040feafacad7c282c785f890704fc6b0
parent 4928d1fa
No related branches found
No related tags found
No related merge requests found
......@@ -167,6 +167,7 @@ ServerAccountManager::initAuthentication(PrivateKey key,
if (not info->announce) {
ctx->onFailure(AuthError::SERVER_ERROR,
"Can't parse announce from server");
return;
}
info->username = ctx->credentials->username;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment