Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
CoffeeOnWrite
on July 28, 2017
|
parent
|
context
|
favorite
| on:
Phoenix 1.3.0 Released
Rails ships with an auth module:
http://api.rubyonrails.org/classes/ActiveModel/SecurePasswor...
werdnapk
on July 29, 2017
|
next
[–]
has_secure_password is not an "auth module". That's simply a handy function to handle a password attribute... which an actual auth module can make use of if it desired.
brightball
on July 28, 2017
|
prev
[–]
My mistake. :) was that added in 5?
Am I reading that right or is it just comparing an unencrypted string to the encrypted version?
Aqua_Geek
on July 28, 2017
|
parent
[–]
It was added in 3.1 (
http://guides.rubyonrails.org/3_1_release_notes.html
) and uses bcrypt under the hood.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: