demarches-normaliennes/app/controllers/super_admins/passwords_controller.rb
2020-11-05 16:03:55 +01:00

6 lines
137 B
Ruby

class Administrations::PasswordsController < Devise::PasswordsController
def update
super
self.resource.disable_otp!
end
end