Delete publicKey of remote user
This commit is contained in:
		
							parent
							
								
									70d5d4459d
								
							
						
					
					
						commit
						e69554f810
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -359,6 +359,8 @@ export const pack = (
 | 
				
			||||||
		if (!opts.detail) {
 | 
							if (!opts.detail) {
 | 
				
			||||||
			delete _user.twoFactorEnabled;
 | 
								delete _user.twoFactorEnabled;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
						} else {
 | 
				
			||||||
 | 
							delete _user.publicKey;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	_user.avatarUrl = _user.avatarId != null
 | 
						_user.avatarUrl = _user.avatarId != null
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue