feat: DeleteUser

This commit is contained in:
teateatea 2024-01-12 17:27:21 +03:00
parent b573544d94
commit 239283288a

View file

@ -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)
}