diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-03-24 10:03:22 +0000 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-03-24 10:03:22 +0000 |
commit | d983d17355584b7de086389e069a935f1a5510a1 (patch) | |
tree | 0920bd8f9a5f64ac749397cf012904b8275a6d52 /clientapi | |
parent | 6c95f9b535191bc28cb983a6fa0eab036dc40916 (diff) |
Fix lint errors
Diffstat (limited to 'clientapi')
-rw-r--r-- | clientapi/auth/password.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/auth/password.go b/clientapi/auth/password.go index 18cf9497..046b36f0 100644 --- a/clientapi/auth/password.go +++ b/clientapi/auth/password.go @@ -62,7 +62,7 @@ func (t *LoginTypePassword) LoginFromJSON(ctx context.Context, reqBytes []byte) func (t *LoginTypePassword) Login(ctx context.Context, req interface{}) (*Login, *util.JSONResponse) { r := req.(*PasswordRequest) - username := strings.ToLower(r.Username()) + username := strings.ToLower(r.Username()) if username == "" { return nil, &util.JSONResponse{ Code: http.StatusUnauthorized, |