Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
should not sign in user without confirmation
if you set Spree::Auth::Config[:confirmable] = true, you must check first resource.active_for_authentication? to decide login user or not. Otherwise you will get 403 error. Please refer to devise source https://github.com/plataformatec/devise/blob/master/app/controllers/devise/registrations_controller.rb#L20 add @user back for flash error fixes #276
- Loading branch information