mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
mHostUrlInput can be null if used with direct login
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
e382365c0e
commit
ad5160dadb
1 changed files with 3 additions and 1 deletions
|
@ -505,7 +505,9 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
|
||||
if (loginUrlInfo != null) {
|
||||
try {
|
||||
if (mHostUrlInput != null) {
|
||||
mHostUrlInput.setText("");
|
||||
}
|
||||
mServerInfo.mBaseUrl = AuthenticatorUrlUtils.normalizeUrlSuffix(loginUrlInfo.serverAddress);
|
||||
webViewUser = loginUrlInfo.username;
|
||||
webViewPassword = loginUrlInfo.password;
|
||||
|
|
Loading…
Reference in a new issue