mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 12:16:54 +00:00
Handle AuthData::FallbackAcknowledgement; mute error for now.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
23c75855ba
commit
11f77defc7
1 file changed
+5
-2
@@ -11,7 +11,7 @@ use ruma::{
|
||||
},
|
||||
};
|
||||
use tuwunel_core::{
|
||||
Err, Result, err, error, implement, utils,
|
||||
Err, Result, debug_warn, err, error, implement, utils,
|
||||
utils::{hash, string::EMPTY},
|
||||
};
|
||||
use tuwunel_database::{Deserialized, Json, Map};
|
||||
@@ -189,10 +189,13 @@ pub async fn try_auth(
|
||||
return Ok((false, uiaainfo));
|
||||
}
|
||||
},
|
||||
| AuthData::FallbackAcknowledgement(session) => {
|
||||
debug_warn!("FallbackAcknowledgement: {session:?}");
|
||||
},
|
||||
| AuthData::Dummy(_) => {
|
||||
uiaainfo.completed.push(AuthType::Dummy);
|
||||
},
|
||||
| k => error!("type not supported: {:?}", k),
|
||||
| auth => error!("AuthData type not supported: {auth:?}"),
|
||||
}
|
||||
|
||||
// Check if a flow now succeeds
|
||||
|
||||
Reference in new issue
Block a user