mirror of
https://github.com/gitnex-org/gitnex.git
synced 2026-07-19 04:00:28 -05: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:
committed by
M M Arif
co-authored by
6543
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));
|
||||
|
||||
Reference in New Issue
Block a user