fix management agree or reject trial auth

dev_partners
p31729568 6 years ago
parent 3c76641df3
commit 9c3fdd0c08

@ -3476,7 +3476,7 @@ end
type = params[:type]
search = params[:search]
if type == "0"
authentication_user = AuthenticationsUsers.where(user_id => apply_action.user_id).first
authentication_user = AuthenticationsUsers.where(user_id: apply_action.user_id).first
if authentication_user.blank?
AuthenticationsUsers.create(:user_id => apply_action.user_id, :authentication_id => 1)
end

Loading…
Cancel
Save