Reputation: 28374
Any comments/improvements on this process?
User Table: id, username, password, salt
Storing a New User
Upvotes: 1
Views: 273
Reputation: 97835
Yes. A few things:
The correct way is this:
rand
...)Then, to authenticate:
Upvotes: 2