diff options
Diffstat (limited to 'app/controllers/api_user.go')
-rw-r--r-- | app/controllers/api_user.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/controllers/api_user.go b/app/controllers/api_user.go index f265f26..e55d88d 100644 --- a/app/controllers/api_user.go +++ b/app/controllers/api_user.go | |||
@@ -82,15 +82,6 @@ func validateKeysAndTokens(in *models.User) error { | |||
82 | } | 82 | } |
83 | } | 83 | } |
84 | 84 | ||
85 | for k, v := range in.AuthTokens { | ||
86 | if k != v.Kind { | ||
87 | return &echo.HTTPError{ | ||
88 | Code: http.StatusBadRequest, | ||
89 | Message: "Token kind must match hash key.", | ||
90 | } | ||
91 | } | ||
92 | } | ||
93 | |||
94 | return nil | 85 | return nil |
95 | } | 86 | } |
96 | 87 | ||