mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-24 16:58:35 -04:00
Doesn't need check the :deleted field in registraions
This commit is contained in:
@@ -48,6 +48,5 @@ end
|
||||
# check if we need the current password to update fields
|
||||
def needs_password?(member, params)
|
||||
params[:member][:password].present? ||
|
||||
params[:member][:password_confirmation].present? ||
|
||||
params[:member][:deleted].present?
|
||||
params[:member][:password_confirmation].present?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user