-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ [#4320] Don't emit cosign login options if a link is used in the email
Users who have the link in the email are directly taken to the right place to start the cosign process. This obsoletes the entrypoint at the form start, and by not returning any login options for cosign, we prevent this block from appearing in the frontend. Detection of a link is used or not is done by checking for the presence of the 'form_url' context variable in the request email template.
- Loading branch information
1 parent
ebd25dc
commit 0251eb6
Showing
3 changed files
with
97 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters