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

login for the user (backend) #45

Open
AmrAymanKhalil505 opened this issue May 1, 2017 · 0 comments
Open

login for the user (backend) #45

AmrAymanKhalil505 opened this issue May 1, 2017 · 0 comments

Comments

@AmrAymanKhalil505
Copy link

white box test.

Severity(High)

Reported by Amr Ayman Elsayed

Description :
the login doesn't save the one who logged in the session and just says it logged in while it doesn't
also, the login sends back to the user a json file with the password which should not happen

Steps to reproduce the issue:
1- sign up
localhost:3000/signup
{

"Username":"amro5",
"Password":"amrayman"

}
localhost:3000/login
{

"Username":"amro5",
"Password":"amrayman"

}

there is no backend method that tests that i am logged in or not so just look at the code they don't test the session

expected results:
adding the user in the session and not getting the password in a json

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

No branches or pull requests

1 participant