How can I deactivate multi-factor authentication for Kentico 9 via Database or Web.Config?

Vincent Michael asked on June 30, 2023 22:19

I urgently need a help on how to deactivate multi-factor authentication on my Global Administrator's login account, as I did not implement it very well from the dashboard before activating. As a result, it has prevented me and other users to access the website's admin dashboard. I want to deactivate the configuration either from the web.config or via database.

I appreciate any expert help please.

Recent Answers


Juraj Ondrus answered on July 10, 2023 09:02

You could use CMSEnableWIF web.config key and set it to false. Documentation link - it is almost at the bottom a yellow warning box.
Or, using SQL command

UPDATE CMS_SettingsKey
SET KeyValue = 'False'
WHERE KeyName = 'CMSWIFEnabled'

and then restart the application/recycle app pool.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.