|
|
@ -5,6 +5,7 @@ class Auth::ChallengesController < ApplicationController |
|
|
|
|
|
|
|
|
|
|
|
layout 'auth' |
|
|
|
layout 'auth' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
before_action :set_pack |
|
|
|
before_action :authenticate_user! |
|
|
|
before_action :authenticate_user! |
|
|
|
|
|
|
|
|
|
|
|
skip_before_action :require_functional! |
|
|
|
skip_before_action :require_functional! |
|
|
@ -19,4 +20,10 @@ class Auth::ChallengesController < ApplicationController |
|
|
|
render_challenge |
|
|
|
render_challenge |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def set_pack |
|
|
|
|
|
|
|
use_pack 'auth' |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|