Drop support for login with email (#622)

Drop support for login with email

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/622
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
6543 2020-07-29 20:28:24 +02:00 committed by M M Arif
parent a9ad91d954
commit 73e7acfbdf

View File

@ -215,6 +215,14 @@ public class LoginActivity extends BaseActivity {
}
if(loginUid.contains("@")) {
SnackBar.warning(ctx, layoutView, getResources().getString(R.string.userInvalidUserName));
enableProcessButton();
return;
}
if(loginPass.equals("")) {
SnackBar.warning(ctx, layoutView, getResources().getString(R.string.emptyFieldPassword));