Skip to content

Commit

Permalink
Update service.bal
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaminduDilshan authored Jun 4, 2024
1 parent efc40f9 commit a399b19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ service / on new http:Listener(9090) {
// Validate the username.
if asgardeoUser.username !== user.username {
log:printInfo(string `${contextId}: Invalid username provided for the user: ${user.id}.`);
fail error("Invalid username");
fail error("Invalid credentials");
}
log:printInfo(string `${contextId}: Username validated successfully.`);

Expand Down

0 comments on commit a399b19

Please sign in to comment.