mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Don't need to extend ActiveSupport::Concern anymore in oauth helpers
This commit is contained in:
parent
fbac68d51a
commit
6a09daf570
2 changed files with 3 additions and 4 deletions
|
@ -24,7 +24,7 @@ module Devise
|
||||||
attr_accessor :password_confirmation
|
attr_accessor :password_confirmation
|
||||||
end
|
end
|
||||||
|
|
||||||
# Generators password encryption based on the value given.
|
# Generates password encryption based on the given value.
|
||||||
def password=(new_password)
|
def password=(new_password)
|
||||||
@password = new_password
|
@password = new_password
|
||||||
self.encrypted_password = password_digest(@password) if @password.present?
|
self.encrypted_password = password_digest(@password) if @password.present?
|
||||||
|
|
|
@ -3,7 +3,6 @@ module Devise
|
||||||
# Provides a few helpers that are included in ActionController::Base
|
# Provides a few helpers that are included in ActionController::Base
|
||||||
# for convenience.
|
# for convenience.
|
||||||
module Helpers
|
module Helpers
|
||||||
extend ActiveSupport::Concern
|
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue