demarches-normaliennes/app/controllers/administrations/sessions_controller.rb
Christophe Robillard 2a0ebd062a enable 2FA for manager
when trying to access manager, if superadmin did'nt enable otp, he/she is redirected to a page to enable 2FA. When superadmin is enabling 2FA, he has to to scan a qrcode with the 2FA application client. And afterwards, the superadmin has to log in with email, password and OTP code.
2020-11-05 16:03:55 +01:00

2 lines
75 B
Ruby

class Administrations::SessionsController < Devise::SessionsController
end