mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
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:
parent
a9ad91d954
commit
73e7acfbdf
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user