Develop #2
@@ -59,11 +59,10 @@ public class ConsoleMenu {
|
||||
System.out.println("Email: ");
|
||||
String email = scanner.nextLine();
|
||||
|
||||
if (authService.register(user2, pass2, email)){
|
||||
System.out.println("Registration successful");
|
||||
}else {
|
||||
System.out.println("Registration failed");
|
||||
}
|
||||
authService.register(user2, pass2, email);
|
||||
System.out.println("Registration successful");
|
||||
|
||||
|
||||
break;
|
||||
|
||||
case 3:
|
||||
|
||||
Reference in New Issue
Block a user