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

Fixes features ui #75

Merged
merged 2 commits into from
Jun 15, 2017
Merged

Fixes features ui #75

merged 2 commits into from
Jun 15, 2017

Conversation

jkuri
Copy link
Contributor

@jkuri jkuri commented Jun 15, 2017

No description provided.

let username = req.query.username;
let auth = getAuth();
let user = auth.users.find(user => user.name === username);
delete user.password;
Copy link
Contributor

Choose a reason for hiding this comment

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

why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we don't want to send password hash along with the response... that could cause potential security concerns.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, I get it you're right..

@jkuri jkuri merged commit e64561c into bleenco:master Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants