-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
authenticationAuthentication and authorization issuesAuthentication and authorization issuesbugSomething isn't workingSomething isn't workingjavaJava code issuesJava code issuespriority: highHigh priority issueHigh priority issue
Description
The login() method will throw NullPointerException if username doesn't exist or if password is null.
Location: src/java/Authentication.java line 24
Steps to reproduce:
Authentication auth = new Authentication();
auth.login("nonexistent", "pass"); // NullPointerExceptionAdd proper null validation before comparing passwords.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
authenticationAuthentication and authorization issuesAuthentication and authorization issuesbugSomething isn't workingSomething isn't workingjavaJava code issuesJava code issuespriority: highHigh priority issueHigh priority issue