Commit 46cc04ce authored by Kamil Trzcinski's avatar Kamil Trzcinski

Add TODO

parent 393459b2
...@@ -42,6 +42,9 @@ class JwtController < ApplicationController ...@@ -42,6 +42,9 @@ class JwtController < ApplicationController
end end
def authenticate_user(login, password) 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) user = Gitlab::Auth.new.find(login, password)
# If the user authenticated successfully, we reset the auth failure count # If the user authenticated successfully, we reset the auth failure count
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment