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

Generic alpha log error message for failed ACL login #6848

Merged
merged 2 commits into from
Nov 5, 2020

Conversation

OmarAyo
Copy link
Contributor

@OmarAyo OmarAyo commented Nov 5, 2020

In case of an invalid login request, we don't reveal info about user. So made the error message more generic in alpha logs.


This change is Reviewable

Copy link
Contributor

@jarifibrahim jarifibrahim left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for fixing this @OmarAyo

edgraph/access_ee.go Outdated Show resolved Hide resolved
@OmarAyo OmarAyo merged commit 7088d59 into master Nov 5, 2020
@OmarAyo OmarAyo deleted the omar/ACL-login-alpha-errormsg branch November 5, 2020 12:13
OmarAyo added a commit that referenced this pull request Nov 5, 2020
* In case of an invalid login request, a generic error message will be printed in alpha logs

* used x.ErrorInvalidLogin per Ibrahim's suggestion

(cherry picked from commit 7088d59)
OmarAyo added a commit that referenced this pull request Nov 5, 2020
* In case of an invalid login request, a generic error message will be printed in alpha logs

* used x.ErrorInvalidLogin per Ibrahim's suggestion

(cherry picked from commit 7088d59)
OmarAyo added a commit that referenced this pull request Nov 5, 2020
* In case of an invalid login request, a generic error message will be printed in alpha logs

(cherry picked from commit 7088d59)
OmarAyo added a commit that referenced this pull request Nov 6, 2020
* In case of an invalid login request, a generic error message will be printed in alpha logs

(cherry picked from commit 7088d59)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants