diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-04-18 15:48:54 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-04-28 22:28:36 +0530 |
commit | e5cf527f279964a8952de544526e8def226b98d7 (patch) | |
tree | 02971ecfe27884880d5917e37fc902b91ce803e5 /app/controllers/profiles | |
parent | 1541d1de18c3e7707ce1289f882b4c1262ec8c71 (diff) | |
download | gitlab-ce-e5cf527f279964a8952de544526e8def226b98d7.tar.gz |
Allow expiration of personal access tokens.
Diffstat (limited to 'app/controllers/profiles')
-rw-r--r-- | app/controllers/profiles/personal_access_tokens_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles/personal_access_tokens_controller.rb b/app/controllers/profiles/personal_access_tokens_controller.rb index 59de0b26eee..d01afbfe119 100644 --- a/app/controllers/profiles/personal_access_tokens_controller.rb +++ b/app/controllers/profiles/personal_access_tokens_controller.rb @@ -31,6 +31,6 @@ class Profiles::PersonalAccessTokensController < ApplicationController private def personal_access_token_params - params.require(:personal_access_token).permit(:name) + params.require(:personal_access_token).permit(:name, :expires_at) end end |