Doesn't need check the :deleted field in registraions

This commit is contained in:
Brenda Wallace
2017-06-02 22:40:39 +12:00
parent fb012c073e
commit 72f805e135

View File

@@ -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