Implementation of login endpoint.
This commit is contained in:
1 parent
914785a29b
commit
36a7aacec7
13 files changed
+134
-8
No files matched your search
+7
@@ -0,0 +1,7 @@
|
||||
package org.sportshub.domain.exception;
|
||||
|
||||
public abstract class FunctionnalException extends RuntimeException {
|
||||
public FunctionnalException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package org.sportshub.domain.exception;
|
||||
|
||||
public class LoginFailureException extends FunctionnalException {
|
||||
public LoginFailureException() {
|
||||
super("Login or password incorrect.");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user