mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-27 12:45:57 +01:00
Fixes NPE on forceRegister (Fixes #473)
This commit is contained in:
parent
678891d0b8
commit
0b4ddce3c4
@ -75,7 +75,7 @@ public class AsyncRegister {
|
||||
if (!preRegisterCheck()) {
|
||||
return;
|
||||
}
|
||||
if (!email.isEmpty() && !email.equals("")) {
|
||||
if (email != null && !email.isEmpty()) {
|
||||
emailRegister();
|
||||
} else {
|
||||
passwordRegister();
|
||||
|
Loading…
Reference in New Issue
Block a user