You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that during migration, no openvpn_2fa field is being populated.
This doesn't impact new users since add_user function generates the TOTP no matter what the RW configuration is.
Workaround is to generate the TOTP using pyotp.random_base32() and set it manually to the user.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Expected behavior
Download of the QR code goes well
Actual behavior
Error is thrown, no QR code is downloaded
Components
ns-migration <= 0.0.18
See also
Mattermost Thread
It appears that during migration, no
openvpn_2fa
field is being populated.This doesn't impact new users since
add_user
function generates the TOTP no matter what the RW configuration is.Workaround is to generate the TOTP using
pyotp.random_base32()
and set it manually to the user.The text was updated successfully, but these errors were encountered: