Improve web UI
Some checks failed
Build and Publish Deb Package / build-deb (push) Failing after 33s
Publish Server Image / build-and-push-image (push) Successful in 2m11s

This commit is contained in:
Ultradesu
2026-03-17 16:16:43 +00:00
parent 106ab96c56
commit 722183047d
2 changed files with 6 additions and 6 deletions

View File

@@ -310,7 +310,7 @@ pub async fn oidc_callback(
let c = c.trim();
if let Some(val) = c.strip_prefix("furumi_oidc_state=") {
let parts: Vec<&str> = val.split(':').collect();
if parts.len() == 3 && parts[0] == query.state {
if parts.len() >= 3 && parts[0] == query.state {
matching_val = Some(val.to_string());
break;
}