|
|
@ -3,6 +3,7 @@ |
|
|
|
class Auth::SetupController < ApplicationController |
|
|
|
class Auth::SetupController < ApplicationController |
|
|
|
layout 'auth' |
|
|
|
layout 'auth' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
before_action :set_pack |
|
|
|
before_action :authenticate_user! |
|
|
|
before_action :authenticate_user! |
|
|
|
before_action :require_unconfirmed_or_pending! |
|
|
|
before_action :require_unconfirmed_or_pending! |
|
|
|
before_action :set_body_classes |
|
|
|
before_action :set_body_classes |
|
|
@ -55,4 +56,8 @@ class Auth::SetupController < ApplicationController |
|
|
|
def missing_email? |
|
|
|
def missing_email? |
|
|
|
truthy_param?(:missing_email) |
|
|
|
truthy_param?(:missing_email) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def set_pack |
|
|
|
|
|
|
|
use_pack 'auth' |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|