Merge pull request #5897 from betagouv/fix-super-admin-otp

SuperAdmin : correction de la génération initiale du code OTP (#5897)
This commit is contained in:
Pierre de La Morinerie 2021-02-11 11:32:57 +01:00 committed by GitHub
commit 465e3576c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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