super_admin: fix OTP generation

This commit is contained in:
Pierre de La Morinerie 2021-02-11 11:14:14 +01:00
parent ed8f0d4634
commit 12cd996af9

View file

@ -25,7 +25,7 @@ class SuperAdminsController < ApplicationController
if Rails.env.development? if Rails.env.development?
issuer += " (local)" issuer += " (local)"
elsif staging? elsif helpers.staging?
issuer += " (dev)" issuer += " (dev)"
end end