Skip to content

J.Sorge w5 Notes - Complete#27

Open
Jiansorge wants to merge 2 commits intopce-uw-jscript400:masterfrom
Jiansorge:master
Open

J.Sorge w5 Notes - Complete#27
Jiansorge wants to merge 2 commits intopce-uw-jscript400:masterfrom
Jiansorge:master

Conversation

@Jiansorge
Copy link

No description provided.


* **Your Answer:**

* **Your Answer:** The site checks whether a username exists. Then, if username does not exist, it encrypts the password and stores it in the database. If it matches, it may return an authentication token to the user's client to login.
Copy link
Collaborator

Choose a reason for hiding this comment

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

There's no matching (as of yet) for passwords on signup.

* **Question:** How does the website verify that you are indeed the same user?

* **Your Answer:**
* **Your Answer:** The site checks whether a username exists. Then, if username exists, it encrypts the password and checks to see if the password matches the username. If it matches, it returns an authentication token to the user's client.
Copy link
Collaborator

Choose a reason for hiding this comment

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

In the case of login, it is going to verify that the plain text password matches the encrypted version.

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.

2 participants