Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
5626 Widoki

Admin user has 2FA enabled, however DUO did not backup the authenticator as it should of after a phone crash. Is it possible to disable totp from a user via command line or directly in the database? We are currently locked out of the Odoo interface. We are using version 14.

Awatar
Odrzuć
Najlepsza odpowiedź

You can do it using from database.Use this query.

update res_users set totp_secret='' where login='loginname.com';


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

It is possible to deactivate the 2FA from the Admin account for a user.
for that (In Admin account):-
->Go to settings > users
->Select the user in list view
->Click on Action button
->Then Click the Disable TOTP on users.

Regards

Awatar
Odrzuć

I still get prompted to input the user's password though from the wizard that appears, and if I don't know the user's password then you can't use this method

Najlepsza odpowiedź

I'm having the same problem. Is it possible to disable the 2FA function for my Administrator account via psql? Currently I'm not able to log in. I'm using version 14 as well.

Or perhaps I can assign other user to administrator level? Any input is highly appreciated.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lis 18
3105
0
sie 22
2763
1
lip 21
13148
6
lip 17
11428
2
wrz 19
15098