Improve web UI
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user