diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-14 14:16:44 -0500 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-14 14:17:04 -0500 |
commit | 46cc04ce7a374127dd617c8fd2671efed2819cda (patch) | |
tree | 7baba36d7539448c569bde6e4320c761960e9f64 | |
parent | 393459b2b24fe788764ee787552da055846b9a63 (diff) | |
download | gitlab-ce-46cc04ce7a374127dd617c8fd2671efed2819cda.tar.gz |
Add TODO
-rw-r--r-- | app/controllers/jwt_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/jwt_controller.rb b/app/controllers/jwt_controller.rb index 0a993bf280e..bd9d7e4425d 100644 --- a/app/controllers/jwt_controller.rb +++ b/app/controllers/jwt_controller.rb @@ -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 |