Adding refresh token processing for subscribers.

This commit is contained in:
stephb9959
2022-04-26 12:24:17 -07:00
parent 1a18c6b295
commit 24986190c4
4 changed files with 16 additions and 3 deletions

View File

@@ -114,6 +114,7 @@ namespace OpenWifi {
NewUser.userTypeProprietaryInfo.mfa.method = "";
NewUser.userTypeProprietaryInfo.mobiles.clear();
NewUser.userTypeProprietaryInfo.authenticatorSecret.clear();
NewUser.validated = true;
if(!StorageService()->UserDB().CreateUser(NewUser.email,NewUser)) {
Logger_.information(fmt::format("Could not add user '{}'.",NewUser.email));