Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why the auth plugin allow empty password permitted #101

Closed
haowanxing opened this issue May 28, 2021 · 1 comment · Fixed by #102
Closed

Why the auth plugin allow empty password permitted #101

haowanxing opened this issue May 28, 2021 · 1 comment · Fixed by #102

Comments

@haowanxing
Copy link

Here the func Auth.validate
if hashedPassword == "" || password == "" { return true, nil }
dose it a bad logic?

@DrmagicE
Copy link
Owner

You are right. That was a careless mistake. I will fix it later.

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 a pull request may close this issue.

2 participants