mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-14 04:48:32 +00:00
Other: Safer vault
This commit is contained in:
@ -147,3 +147,8 @@ func (user *User) Clear() error {
|
||||
data.KeyPass = nil
|
||||
})
|
||||
}
|
||||
|
||||
// Close closes the user. This allows it to be removed from the vault.
|
||||
func (user *User) Close() error {
|
||||
return user.vault.detachUser(user.userID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user