reset host when using login via QR/link

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2019-07-23 13:13:06 +02:00
parent 040b460811
commit 011169dea4
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -505,6 +505,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
if (loginUrlInfo != null) {
try {
mHostUrlInput.setText("");
mServerInfo.mBaseUrl = AuthenticatorUrlUtils.normalizeUrlSuffix(loginUrlInfo.serverAddress);
webViewUser = loginUrlInfo.username;
webViewPassword = loginUrlInfo.password;