Correctly display domain name on login (#3254)

This commit is contained in:
Firstyear 2024-11-30 14:13:27 +10:00 committed by GitHub
parent 52987ab8b2
commit 4528a1bda0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@
src="/pkg/img/logo-square.svg?v=((crate::https::cache_buster::get_cache_buster_key()))" src="/pkg/img/logo-square.svg?v=((crate::https::cache_buster::get_cache_buster_key()))"
alt="(( display_ctx.domain_info.display_name() ))" class="kanidm_logo" /> alt="(( display_ctx.domain_info.display_name() ))" class="kanidm_logo" />
(% endif %) (% endif %)
<h3>Kanidm</h3> <h3>(( display_ctx.domain_info.display_name() ))</h3>
(% if let Some(reauth) = display_ctx.reauth %) (% if let Some(reauth) = display_ctx.reauth %)
<div class="alert alert-info" role="alert"> <div class="alert alert-info" role="alert">
Reauthenticating as (( reauth.username )) to access (( reauth.purpose )) Reauthenticating as (( reauth.username )) to access (( reauth.purpose ))