Permalink
Browse files

All controllers ssl ok

  • Loading branch information...
danmorin committed Mar 19, 2012
1 parent f6b2643 commit a6926c5279ab58215ccca1b85981bfda82b6b897
@@ -1,4 +1,6 @@
class Spree::OmniauthCallbacksController < Devise::OmniauthCallbacksController
+ ssl_allowed
+
include Spree::Core::CurrentOrder
include Spree::Core::ControllerHelpers
helper 'spree/users', 'spree/base'
@@ -1,5 +1,4 @@
class Spree::UserAuthenticationsController < Spree::BaseController
-
ssl_allowed
def update
@@ -1,5 +1,6 @@
Spree::UserRegistrationsController.class_eval do
-
+ ssl_allowed
+
def create
super.tap do |resp|
if @user && @user.new_record? && resp.respond_to?(:session)
@@ -1,5 +1,6 @@
Spree::UserSessionsController.class_eval do
-
+ ssl_allowed
+
def merge
# now sign in from the login form
authenticate_user!

0 comments on commit a6926c5

Please sign in to comment.