Skip to content

Conversation

@M-Sidhu25
Copy link
Contributor

I Fixed the login method in src/java/Authentication.java. It now returns false when the username doesn't exist and when the username or password is null. Before it would throw a null pointer exception. I tested it by copy and pasting the test code and method into the file temporarily to see if it works, then I deleted the temporary code. I hope you like it!

Copy link
Owner

@aliAljaffer aliAljaffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants