summaryrefslogtreecommitdiff
path: root/app/models/deploy_token.rb
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2018-04-03 16:34:56 -0500
committerMayra Cabrera <mcabrera@gitlab.com>2018-04-06 21:20:16 -0500
commit7deab3172257bef7818ce834c1e0709432ddd5e0 (patch)
treef524ab35e59ac478572a444bea1f847accad410b /app/models/deploy_token.rb
parent726f5bbf04b92357a11af34044a0720092797a71 (diff)
downloadgitlab-ce-7deab3172257bef7818ce834c1e0709432ddd5e0.tar.gz
Removes logic from Jwt and handle different scenarios on Gitlab::Auth
- When using 'read_repo' password and project are sent, so we used both of them to fetch for the token - When using 'read_registry' only the password is sent, so we only use that for fetching the token
Diffstat (limited to 'app/models/deploy_token.rb')
0 files changed, 0 insertions, 0 deletions