mirror of
https://github.com/funamitech/mastodon
synced 2024-11-27 14:29:03 +09:00
Fix new user confirmation page styling
This commit is contained in:
parent
65db9df011
commit
857c67f31b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user