Gerrit: Unset authenticated on unknown error

Let the server retry authentication on next update.

Change-Id: I22d9fcde2b501fc7c9b9d86bb9b656c73d3ee840
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2018-06-17 20:28:57 +03:00
committed by Orgad Shaneh
parent a91956f300
commit 14fb71ecec

View File

@@ -323,6 +323,7 @@ bool GerritServer::resolveRoot()
}
break;
default: // unknown error - fail
authenticated = false;
return false;
}
}