1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Make a more accurate claim

This commit is contained in:
unleashy 2020-03-12 15:52:51 -03:00 committed by GitHub
parent 748803cd59
commit eefae83c92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,9 +7,9 @@ module Devise
# Authenticatable Module, responsible for hashing the password and
# validating the authenticity of a user while signing in.
#
# This module overrides the `password=` method and skips setting the password
# when Rails is setting attributes, instead it hashes the plaintext password
# and stores it in `encrypted_password` for legacy reasons.
# This module defines a `password=` method. This method will hash the argument
# and store it in the `encrypted_password` column, bypassing any pre-existing
# `password` column if it exists.
#
# == Options
#