Administrator
发布于 2024-04-06 / 27 阅读
0

JumpServer多因子登陆MFA重置

进入 jms_core 容器

docker exec -it jms_core /bin/bash

进入apps目录

cd /opt/jumpserver/apps
python manage.py shell

from users.models import User

u = User.objects.get(username='admin')

u.mfa_level='0'

u.otp_secret_key=''

u.save()

exit退出