Merge pull request #4254 from nextcloud/clearInputBeforeQR

Reset host when using login via QR/link
This commit is contained in:
Andy Scherzinger 2019-07-23 15:12:07 +02:00 committed by GitHub
commit 5370493798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;