Skip to content
Snippets Groups Projects
Commit 5abb4b3d authored by rithu john's avatar rithu john
Browse files

storage/static.go: correct the error message that gets displayed.

parent 5eb8210e
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ func (s staticPasswordsStorage) CreatePassword(p Password) error {
func (s staticPasswordsStorage) DeletePassword(email string) error {
if s.isStatic(email) {
return errors.New("static passwords: read-only cannot create password")
return errors.New("static passwords: read-only cannot delete password")
}
return s.Storage.DeletePassword(email)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment