Refactor internal/auth to return domain specific errors (#905)

* Refactor internal/auth to return domain specific errors
This commit is contained in:
s-christoff authored and GitHub committed 2021-02-11 13:32:45 -06:00
1 parent 22462cdd84
commit 6623be8bfb
22 files changed
+502 -365

No files matched your search

+5
View File
@@ -92,6 +92,11 @@ func TestCode_Both_String_Info(t *testing.T) {
c: TokenMismatch,
want: TokenMismatch,
},
{
name: "TooShort",
c: TooShort,
want: TooShort,
},
{
name: "PasswordTooShort",
c: PasswordTooShort,