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