<string name="auth_connecting_auth_server">Connecting to authentication server…</string>
<string name="auth_unsupported_auth_method">The server does not support this authentication method</string>
<string name="auth_unsupported_multiaccount">%1$s does not support multiple accounts</string>
- <string name="auth_fail_get_user_name">Your server is not returning a correct user id, contact with your admin please</string>
<string name="fd_keep_in_sync">Keep file up to date</string>
<string name="common_rename">Rename</string>
}\r
\r
private void onGetUserNameFinish(GetRemoteUserNameOperation operation, RemoteOperationResult result) {\r
- \r
if (result.isSuccess()) {\r
boolean success = false;\r
String username = operation.getUserName();\r
if (success)\r
finish();\r
} else {\r
- updateStatusIconFailUserName();\r
+ updateAuthStatusIconAndText(result);\r
showAuthStatus();\r
Log_OC.e(TAG, "Access to user name failed: " + result.getLogMessage());\r
}\r
}\r
\r
\r
- private void updateStatusIconFailUserName(){\r
- mAuthStatusIcon = android.R.drawable.ic_secure;\r
- mAuthStatusText = R.string.auth_fail_get_user_name;\r
- }\r
- \r
/**\r
* Processes the result of the request for and access token send \r
* to an OAuth authorization server.\r