Skip to content
Browse files

Require no authentication on unlockable.

  • Loading branch information...
1 parent 28a6be4 commit c76df8239fe056b1c2fa1ddb3c70269ce4cfbf95 @josevalim josevalim committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/controllers/devise/unlocks_controller.rb
View
2 app/controllers/devise/unlocks_controller.rb
@@ -1,6 +1,8 @@
class Devise::UnlocksController < ApplicationController
include Devise::Controllers::InternalHelpers
+ before_filter :require_no_authentication
+
# GET /resource/unlock/new
def new
build_resource

0 comments on commit c76df82

Please sign in to comment.
Something went wrong with that request. Please try again.