From 729df41df08ccce9427781ea96bcb09adfaf5356 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Fri, 15 May 2026 17:53:08 -0500 Subject: [PATCH] Better `ConsentForbiddenPageType` docstring --- crates/handlers/src/compat/login.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/handlers/src/compat/login.rs b/crates/handlers/src/compat/login.rs index 49f9fc48c..211b7d997 100644 --- a/crates/handlers/src/compat/login.rs +++ b/crates/handlers/src/compat/login.rs @@ -1744,7 +1744,8 @@ mod tests { token } - /// The kind of policy violation shown on the SSO consent page. + /// The kind of page shown when encountering a 403 forbidden at the constent stage + /// of the `m.login.sso` flow. #[derive(Debug, PartialEq)] pub enum ConsentForbiddenPageType { DeviceLimitReached,