mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-10-31 18:57:51 +00:00 
			
		
		
		
	Fixing submfa method
This commit is contained in:
		| @@ -60,9 +60,15 @@ namespace OpenWifi { | ||||
|                 User.userTypeProprietaryInfo.mfa.method = "email"; | ||||
|                 StorageService()->UpdateSubUserInfo(UserInfo_.userinfo.email, UserInfo_.userinfo.Id, User); | ||||
|  | ||||
|                 MFC.sms = MFC.sms; | ||||
|                 MFC.type = "email"; | ||||
|                 MFC.email = UserInfo_.userinfo.email; | ||||
|                 MFC.id = MicroService::instance().CreateUUID(); | ||||
|  | ||||
|                 Poco::JSON::Object Answer; | ||||
|                 MFC.to_json(Answer); | ||||
|                 return ReturnObject(Answer); | ||||
|  | ||||
|             } else if (MFC.type == "sms") { | ||||
|                 if (GetBoolParameter("startValidation", false)) { | ||||
|                     if (MFC.sms.empty()) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959