From 12cd996af9e186040840ab0803a4f5c206bb5949 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Thu, 11 Feb 2021 11:14:14 +0100 Subject: [PATCH] super_admin: fix OTP generation --- app/controllers/super_admins_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/super_admins_controller.rb b/app/controllers/super_admins_controller.rb index aa1c608c1..a297c70a4 100644 --- a/app/controllers/super_admins_controller.rb +++ b/app/controllers/super_admins_controller.rb @@ -25,7 +25,7 @@ class SuperAdminsController < ApplicationController if Rails.env.development? issuer += " (local)" - elsif staging? + elsif helpers.staging? issuer += " (dev)" end