[pmg-devel] [PATCH pmg-yew-quarantine-gui 1/1] login page: disable realm selection
Dominik Csapak
d.csapak at proxmox.com
Wed Oct 15 16:23:00 CEST 2025
since the user should not be able to select a realm (e.g. for ldap
logins the e-mail address should be entered), disable that for the login
panel.
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
src/page_login.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/page_login.rs b/src/page_login.rs
index 6449202..d285209 100644
--- a/src/page_login.rs
+++ b/src/page_login.rs
@@ -135,6 +135,7 @@ impl Component for PmgPageLogin {
.with_child(
LoginPanel::new()
.mobile(true)
+ .realm_selectable(false)
.domain_path("/access/auth-realm")
.on_login(ctx.link().callback(Msg::Login)),
)
--
2.47.3
More information about the pmg-devel
mailing list