providers/saml: add title attribute to autosubmit stage and render correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		@ -35,8 +35,12 @@ export class AutosubmitStage extends BaseStage<
 | 
			
		||||
        if (!this.challenge) {
 | 
			
		||||
            return html`<ak-empty-state ?loading="${true}" header=${t`Loading`}> </ak-empty-state>`;
 | 
			
		||||
        }
 | 
			
		||||
        let title = this.challenge.flowInfo?.title;
 | 
			
		||||
        if (this.challenge.title && this.challenge.title !== "") {
 | 
			
		||||
            title = this.challenge.title;
 | 
			
		||||
        }
 | 
			
		||||
        return html`<header class="pf-c-login__main-header">
 | 
			
		||||
                <h1 class="pf-c-title pf-m-3xl">${this.challenge.flowInfo?.title}</h1>
 | 
			
		||||
                <h1 class="pf-c-title pf-m-3xl">${title}</h1>
 | 
			
		||||
            </header>
 | 
			
		||||
            <div class="pf-c-login__main-body">
 | 
			
		||||
                <form class="pf-c-form" action="${this.challenge.url}" method="POST">
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user