34 lines
664 B
Ruby
34 lines
664 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class Users::UnlocksController < Devise::UnlocksController
|
||
|
skip_after_action :verify_authorized
|
||
|
skip_after_action :verify_policy_scoped
|
||
|
|
||
|
# GET /resource/unlock/new
|
||
|
# def new
|
||
|
# super
|
||
|
# end
|
||
|
|
||
|
# POST /resource/unlock
|
||
|
# def create
|
||
|
# super
|
||
|
# end
|
||
|
|
||
|
# GET /resource/unlock?unlock_token=abcdef
|
||
|
# def show
|
||
|
# super
|
||
|
# end
|
||
|
|
||
|
# protected
|
||
|
|
||
|
# The path used after sending unlock password instructions
|
||
|
# def after_sending_unlock_instructions_path_for(resource)
|
||
|
# super(resource)
|
||
|
# end
|
||
|
|
||
|
# The path used after unlocking the resource
|
||
|
# def after_unlock_path_for(resource)
|
||
|
# super(resource)
|
||
|
# end
|
||
|
end
|