mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 11:11:11 +02:00
10 lines
214 B
Ruby
10 lines
214 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Settings
|
|
module TwoFactorAuthentication
|
|
class BaseController < ::Settings::BaseController
|
|
layout -> { truthy_param?(:oauth) ? 'modal' : 'admin' }
|
|
end
|
|
end
|
|
end
|