Changing SMS/MFA

This commit is contained in:
stephb9959
2022-05-06 08:02:58 -07:00
parent d869f6bb78
commit 44457d0f55
2 changed files with 2 additions and 0 deletions

View File

@@ -288,6 +288,7 @@ namespace OpenWifi {
UserInfo_.userinfo.email)) {
return BadRequest(RESTAPI::Errors::NeedMobileNumber);
}
Existing.userTypeProprietaryInfo.mobiles[0].verified = true;
Existing.userTypeProprietaryInfo.authenticatorSecret.clear();
} else if (ChangingMFA && NewUser.userTypeProprietaryInfo.mfa.method == MFAMETHODS::AUTHENTICATOR) {
std::string Secret;