summaryrefslogtreecommitdiff
path: root/internal/authentication/const.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/authentication/const.go')
-rw-r--r--internal/authentication/const.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/authentication/const.go b/internal/authentication/const.go
index 7049e2d92..9cbeb5877 100644
--- a/internal/authentication/const.go
+++ b/internal/authentication/const.go
@@ -97,6 +97,15 @@ var (
// ErrNoContent is returned when the file is empty.
ErrNoContent = errors.New("no file content")
+
+ ErrOperationFailed = errors.New("operation failed")
+
+ // ErrIncorrectPassword is returned when the password provided is incorrect.
+ ErrIncorrectPassword = errors.New("incorrect password")
+
+ ErrPasswordWeak = errors.New("your supplied password does not meet the password policy requirements")
+
+ ErrAuthenticationFailed = errors.New("authentication failed")
)
const fileAuthenticationMode = 0600