Merge branch 'develop' into educoder

dev_ec
daiao 6 years ago
commit c645d89628

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