Refactor internal/auth to return domain specific errors (#905)
* Refactor internal/auth to return domain specific errors
This commit is contained in:
1 parent
22462cdd84
commit
6623be8bfb
22 files changed
+502
-365
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user