Skip to content

Update PAT expiration date field to start from tomorrow

What does this MR do and why?

This MR updates the Expiration date field on PAT creation to start the minimum expiry date from tomorrow.

Screenshots or screen recordings

Recorded on 2022-05-13

Screen_Recording_2022-05-13_at_09.14.02

How to set up and validate locally

  1. Visit [HOST]/-/profile/personal_access_tokens
  2. Select the Expiration date field and check that the minimum date is tomorrow
  3. Try and manually change the date to today or earlier and see it automatically is adjusted to tomorrow

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #361427 (closed)

Edited by Robert Hunt

Merge request reports