mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-20 04:59:16 +00:00
Replace deprecated option bypass
- https://github.com/heartcombo/devise/pull/5803
This commit is contained in:
@@ -102,7 +102,7 @@ module Spree
|
||||
def sign_in_if_change_own_password
|
||||
return unless spree_current_user == @user && @user.password.present?
|
||||
|
||||
sign_in(@user, event: :authentication, bypass: true)
|
||||
bypass_sign_in(@user)
|
||||
end
|
||||
|
||||
def new_email_unconfirmed?
|
||||
|
||||
Reference in New Issue
Block a user