sample to show how to gen the same 2fa code
refactor config on user manager