Commit 6dab9ce3 authored by Ash McKenzie's avatar Ash McKenzie

Remove ability to specify expire_time

LfsToken#token does not need the ability to specify expire_time
parent c4f1e8ed
......@@ -30,8 +30,8 @@ module Gitlab
end
end
def token(expire_time: DEFAULT_EXPIRE_TIME)
HMACToken.new(actor).token(expire_time)
def token
HMACToken.new(actor).token(DEFAULT_EXPIRE_TIME)
end
def token_valid?(token_to_check)
......
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