Sha256: 1ea35f6a92dd3ceea487fe09056d2bf8c971f610e4e9682b5ab47f0beadf4233
Contents?: true
Size: 332 Bytes
Versions: 3
Compression:
Stored size: 332 Bytes
Contents
Spree::UserRegistrationsController.class_eval do after_action :clear_omniauth, only: :create private def build_resource(*args) super @spree_user.apply_omniauth(session[:omniauth]) if session[:omniauth] @spree_user end def clear_omniauth session[:omniauth] = nil unless @spree_user.new_record? end end
Version data entries
3 entries across 3 versions & 1 rubygems