Add TODO
This commit is contained in:
parent
393459b2b2
commit
46cc04ce7a
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ class JwtController < ApplicationController
|
|||
end
|
||||
|
||||
def authenticate_user(login, password)
|
||||
# TODO: this is a copy and paste from grack_auth,
|
||||
# it should be refactored in the future
|
||||
|
||||
user = Gitlab::Auth.new.find(login, password)
|
||||
|
||||
# If the user authenticated successfully, we reset the auth failure count
|
||||
|
|
Loading…
Reference in a new issue