Skip to content

use redirect instead of render to avoid creating keys when refresh - resolves #47942

Muhammad Nuzaihan requested to merge muhammadn/gitlab-ce:deploy-tokens into master

What does this MR do?

Avoid using render which the user can send deploy token request for an action

Are there points in the code the reviewer needs to double check?

Nope.

Why was this MR needed?

User will unknowingly create a new token if the page is refreshed (and send the POST request again)

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports