mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-11-04 04:37:45 +00:00 
			
		
		
		
	Framework update + added modified to userrecord.
This commit is contained in:
		@@ -254,6 +254,7 @@ namespace OpenWifi::SecurityObjects {
 | 
			
		||||
		field_to_json(Obj,"lastPasswords",lastPasswords);
 | 
			
		||||
		field_to_json(Obj,"oauthType",oauthType);
 | 
			
		||||
		field_to_json(Obj,"oauthUserInfo",oauthUserInfo);
 | 
			
		||||
        field_to_json(Obj,"modified",modified);
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    bool UserInfo::from_json(const Poco::JSON::Object::Ptr &Obj) {
 | 
			
		||||
@@ -288,6 +289,7 @@ namespace OpenWifi::SecurityObjects {
 | 
			
		||||
			field_from_json(Obj,"lastPasswords",lastPasswords);
 | 
			
		||||
			field_from_json(Obj,"oauthType",oauthType);
 | 
			
		||||
			field_from_json(Obj,"oauthUserInfo",oauthUserInfo);
 | 
			
		||||
            field_from_json(Obj,"modified",modified);
 | 
			
		||||
            return true;
 | 
			
		||||
        } catch (const Poco::Exception &E) {
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user