Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6dab9ce3
Commit
6dab9ce3
authored
Feb 11, 2019
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ability to specify expire_time
LfsToken#token does not need the ability to specify expire_time
parent
c4f1e8ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/gitlab/lfs_token.rb
lib/gitlab/lfs_token.rb
+2
-2
No files found.
lib/gitlab/lfs_token.rb
View file @
6dab9ce3
...
@@ -30,8 +30,8 @@ module Gitlab
...
@@ -30,8 +30,8 @@ module Gitlab
end
end
end
end
def
token
(
expire_time:
DEFAULT_EXPIRE_TIME
)
def
token
HMACToken
.
new
(
actor
).
token
(
expire_time
)
HMACToken
.
new
(
actor
).
token
(
DEFAULT_EXPIRE_TIME
)
end
end
def
token_valid?
(
token_to_check
)
def
token_valid?
(
token_to_check
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment