mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Report an error to the user in log in view when the access to the user name in the server fails
This commit is contained in:
parent
b6a500fc68
commit
5db7b8e6f6
2 changed files with 7 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 1c44c7ac2232478e9a1233d2013207987e2248d8
|
||||
Subproject commit 5b4f63ebdb365c6e7e9a3e0148aa18a8d5fb5067
|
|
@ -36,6 +36,7 @@ import android.support.v4.app.Fragment;
|
|||
import android.text.Editable;
|
||||
import android.text.InputType;
|
||||
import android.text.TextWatcher;
|
||||
import android.util.Log;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
|
@ -822,6 +823,10 @@ implements OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
|
|||
|
||||
if (success)
|
||||
finish();
|
||||
} else {
|
||||
updateAuthStatusIconAndText(result);
|
||||
showAuthStatus();
|
||||
Log_OC.e(TAG, "Access to user name failed: " + result.getLogMessage());
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1591,7 +1596,7 @@ implements OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
|
|||
}
|
||||
|
||||
|
||||
public void onSamlDialogSuccess(String sessionCookie){
|
||||
public void onSamlDialogSuccess(String sessionCookie) {
|
||||
mAuthToken = sessionCookie;
|
||||
|
||||
if (sessionCookie != null && sessionCookie.length() > 0) {
|
||||
|
|
Loading…
Reference in a new issue