This website requires JavaScript.
Explore
Help
Register
Sign in
DGNum
/
demarches-normaliennes
Watch
15
Star
1
Fork
You've already forked demarches-normaliennes
0
Code
Issues
1
Pull requests
Projects
Releases
Packages
Wiki
Activity
5562e65bf3
demarches-normaliennes
/
app
/
controllers
/
super_admins
/
sessions_controller.rb
3 lines
75 B
Ruby
Raw
Normal View
History
Unescape
Escape
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-04 16:35:15 +01:00
class
Administrations
::
SessionsController
<
Devise
::
SessionsController
[Fix #1096] Sign in with GitHub page
2017-12-21 11:41:44 +01:00
end
Reference in a new issue
Copy permalink