core: fix blueprint export (cherry-pick #8695) (#8696)

core: fix blueprint export (#8695)

* core: fix error when exporting blueprint



* also slightly reword source selection



---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L <jens@goauthentik.io>
This commit is contained in:
gcp-cherry-pick-bot[bot]
2024-02-26 13:04:54 +01:00
committed by GitHub
parent 0302d147e9
commit 4e4923ad0e
2 changed files with 3 additions and 3 deletions

View File

@ -207,7 +207,7 @@ export class IdentificationStage extends BaseStage<
renderInput(): TemplateResult {
let type: "text" | "email" = "text";
if (!this.challenge?.userFields || this.challenge.userFields.length === 0) {
return html`<p>${msg("Select one of the sources below to login.")}</p>`;
return html`<p>${msg("Select one of the options below to continue.")}</p>`;
}
const fields = (this.challenge?.userFields || []).sort();
// Check if the field should be *only* email to set the input type