web/flows: only show user info when applicable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
3f30ef624e
commit
d785edbbe3
|
@ -59,6 +59,7 @@ export class AccessDeniedStage extends BaseStage<
|
|||
</header>
|
||||
<div class="pf-c-login__main-body">
|
||||
<form class="pf-c-form">
|
||||
${this.challenge.pendingUser ? html`
|
||||
<ak-form-static
|
||||
class="pf-c-form__group"
|
||||
userAvatar="${this.challenge.pendingUserAvatar}"
|
||||
|
@ -69,7 +70,7 @@ export class AccessDeniedStage extends BaseStage<
|
|||
>${t`Not you?`}</a
|
||||
>
|
||||
</div>
|
||||
</ak-form-static>
|
||||
</ak-form-static>` : html``}
|
||||
<div class="pf-c-form__group">
|
||||
<p class="big-icon">
|
||||
<i class="pf-icon pf-icon-error-circle-o"></i>
|
||||
|
|
Reference in a new issue