feat: DeleteUser
This commit is contained in:
parent
b573544d94
commit
239283288a
1 changed files with 5 additions and 0 deletions
|
@ -21,3 +21,8 @@ func CheckUser(login string, givenPassword interop.Hash256) {
|
|||
panic("Password hashes does not match")
|
||||
}
|
||||
}
|
||||
|
||||
func DeleteUser(login string) {
|
||||
ctx := storage.GetContext()
|
||||
storage.Delete(ctx, login)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue