feat: Allow configuring the OAuth compatibility mode

This commit is contained in:
Ginger committed 2026-06-16 12:50:43 -04:00
1 parent c2c841b8c7
commit 25144ecceb
12 files changed
+122 -25

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ async fn route_remove_device(
Expect(Path(query)): Expect<Path<DevicePath>>,
PostForm(form): PostForm<()>,
) -> Result {
let user_id = user.expect(LoginTarget::RemoveDevice(query.clone()))?;
let user_id = user.expect_recent(LoginTarget::RemoveDevice(query.clone()))?;
let Ok(device) = services
.users