v0.34.16
This commit is contained in:
1 parent
f27fbf6a30
commit
2c03fcf248
18 files changed
+430
-920
No files matched your search
@@ -254,14 +254,8 @@ impl Vhost {
|
||||
.validate()?;
|
||||
if self.oidc.enabled {
|
||||
let redirect = url::Url::parse(&self.oidc.redirect_url)?;
|
||||
ensure!(
|
||||
redirect.host_str().is_some_and(|host| self
|
||||
.frontend
|
||||
.hosts
|
||||
.iter()
|
||||
.any(|name| name == host)),
|
||||
"OIDC callback host must be an exact Vhost hostname"
|
||||
);
|
||||
ensure!(redirect.host_str().is_some_and(|host| self.frontend.hosts.iter().any(|name| name == host)),
|
||||
"OIDC callback host must be an exact Vhost hostname");
|
||||
}
|
||||
self.pages.validate()?;
|
||||
self.transform
|
||||
|
||||
Reference in new issue
Block a user