upload current sources
This commit is contained in:
@@ -29,6 +29,8 @@ public class AuthenticationService {
|
|||||||
return userId != null && password != null
|
return userId != null && password != null
|
||||||
? authenticateWithCredentials(userId, password)
|
? authenticateWithCredentials(userId, password)
|
||||||
: apiToken != null && validateApiToken(apiToken);
|
: apiToken != null && validateApiToken(apiToken);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean authenticateWithCredentials(String userId, String password) {
|
public boolean authenticateWithCredentials(String userId, String password) {
|
||||||
|
|||||||
Reference in New Issue
Block a user