Merge pull request 'hotfix for #297' (#298) from a671916c/GitNex:master into master

Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/298
Reviewed-by: M M Arif <mmarif@swatian.com>
This commit is contained in:
M M Arif 2020-03-18 18:24:35 +00:00
commit 154065d43c

View File

@ -530,7 +530,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener
private void letTheUserIn(final String instanceUrl, final String loginUid, final String loginPass, final int loginOTP) { private void letTheUserIn(final String instanceUrl, final String loginUid, final String loginPass, final int loginOTP) {
final String credential = Credentials.basic(loginUid, loginPass); final String credential = Credentials.basic(loginUid, loginPass, Charset.forName("UTF-8"));
Call<List<UserTokens>> call; Call<List<UserTokens>> call;
if(loginOTP != 0) { if(loginOTP != 0) {