summaryrefslogtreecommitdiff
path: root/app/controllers/otp_enrollments_controller.rb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-27 11:16:14 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-27 11:16:14 +0200
commit6c20570d2a4c6cb698d0a08dbcb86ecc2a25a131 (patch)
treede502ac778d4a98c927ebaf02cb2338da551e976 /app/controllers/otp_enrollments_controller.rb
parent180b5feba092db1339f7bb3217e91f0b22239bc5 (diff)
Pin admin content reads to the default locale
Diffstat (limited to 'app/controllers/otp_enrollments_controller.rb')
-rw-r--r--app/controllers/otp_enrollments_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/otp_enrollments_controller.rb b/app/controllers/otp_enrollments_controller.rb
index 54b82214..82fc98dc 100644
--- a/app/controllers/otp_enrollments_controller.rb
+++ b/app/controllers/otp_enrollments_controller.rb
@@ -2,6 +2,8 @@
2# an administrator must never hold another account's secret -- admins get 2# an administrator must never hold another account's secret -- admins get
3# the witnessed reset on the user page instead. 3# the witnessed reset on the user page instead.
4class OtpEnrollmentsController < ApplicationController 4class OtpEnrollmentsController < ApplicationController
5 include PinnedToDefaultLocale
6
5 before_action :login_required 7 before_action :login_required
6 8
7 layout 'admin' 9 layout 'admin'