mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 08:58:30 +03:00
OC-1075: message 'This authenticated method is not supported', should be shown when need it.
This commit is contained in:
parent
0a7d508f92
commit
e7d9114859
2 changed files with 8 additions and 3 deletions
|
@ -316,7 +316,11 @@ implements OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
|
|||
public void beforeTextChanged(CharSequence s, int start, int count, int after) {}
|
||||
|
||||
@Override
|
||||
public void onTextChanged(CharSequence s, int start, int before, int count) {}
|
||||
public void onTextChanged(CharSequence s, int start, int before, int count) {
|
||||
mAuthStatusIcon = 0;
|
||||
mAuthStatusText = 0;
|
||||
showAuthStatus();
|
||||
}
|
||||
|
||||
});
|
||||
mPasswordInput.setOnFocusChangeListener(this);
|
||||
|
|
|
@ -324,8 +324,9 @@ public class RemoteOperationResult implements Serializable {
|
|||
}
|
||||
|
||||
public boolean isIdPRedirection() {
|
||||
return (mRedirectedLocation.toUpperCase().contains("SAML") ||
|
||||
mRedirectedLocation.toLowerCase().contains("wayf"));
|
||||
return (mRedirectedLocation != null &&
|
||||
(mRedirectedLocation.toUpperCase().contains("SAML") ||
|
||||
mRedirectedLocation.toLowerCase().contains("wayf")));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue