summaryrefslogtreecommitdiff
path: root/lib/gitlab_custom_hook.rb
diff options
context:
space:
mode:
authorJoe Woodward <jwoodward@gitlab.com>2023-05-11 21:38:36 +0100
committerJoe Woodward <jwoodward@gitlab.com>2023-05-11 21:38:36 +0100
commit51b79bdb4ae60b1850989cca8eb4190d785408b0 (patch)
tree515ca7aece89bcc4c7648f05590b511a6352ca73 /lib/gitlab_custom_hook.rb
parentb961dc8ec5cbc6a486ec80b07d40743f67d3a92b (diff)
downloadgitlab-shell-51b79bdb4ae60b1850989cca8eb4190d785408b0.tar.gz
Configure a default ttl for personal access tokens
Prior to this change personal access tokens without a ttl would never expire. In Gitlab 15.4 we deprecated non-expiring tokens and are scheduled for removal in 16.0. https://gitlab.com/gitlab-org/gitlab/-/issues/369122 This change alters the gitlab-shell command for creating tokens to ensure add a default limit of 30 days. Closes https://gitlab.com/gitlab-org/gitlab-shell/-/issues/640
Diffstat (limited to 'lib/gitlab_custom_hook.rb')
0 files changed, 0 insertions, 0 deletions