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

fix(auth): Correct security authentication logic #19

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

thongdanghoang
Copy link
Owner

  • Fixed the security authentication logic to allow access when the user is either enabled or not disabled.
  • Updated the conditional statement from logical AND (&&) to logical OR (||).

Closes #18

This commit addresses a security issue by ensuring that user access is granted if the user is enabled or not currently disabled, and it closes issue #18.

- Fixed the security authentication logic to allow access when the user is either enabled or not disabled.
- Updated the conditional statement from logical AND (&&) to logical OR (||).

Closes #18

This commit addresses a security issue by ensuring that user access is granted if the user is enabled or not currently disabled, and it closes issue #18.
@thongdanghoang thongdanghoang merged commit efe5493 into develop Oct 27, 2023
@thongdanghoang thongdanghoang deleted the hotfix/18 branch November 23, 2023 09:20
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.

1 participant