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