mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
portal_path must end with / (#91)
This commit is contained in:
parent
daa799111e
commit
1bf64408c9
2 changed files with 5 additions and 5 deletions
|
@ -74,11 +74,11 @@ Domain of the authentication portal. It has to be a domain, IP addresses will no
|
||||||
|
|
||||||
#### portal_path
|
#### portal_path
|
||||||
|
|
||||||
URI of the authentication portal (**default**: `/ssowat`)
|
URI of the authentication portal (**default**: `/ssowat/`). This path **must** end with “`/`”.
|
||||||
|
|
||||||
#### portal_port
|
#### portal_port
|
||||||
|
|
||||||
Web port of the authentication portal (**default**: `443`)
|
Web port of the authentication portal (**default**: `443` for `https`, `80` for `http`)
|
||||||
|
|
||||||
#### portal_scheme
|
#### portal_scheme
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ Whether authentication should use secure connection or not (**default**: `https`
|
||||||
|
|
||||||
#### domains
|
#### domains
|
||||||
|
|
||||||
List of handle domains (**default**: similar to `portal_domain`)
|
List of handled domains (**default**: similar to `portal_domain`)
|
||||||
|
|
||||||
#### ldap_host
|
#### ldap_host
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ function get_config()
|
||||||
-- Else just take the persistent rule's value
|
-- Else just take the persistent rule's value
|
||||||
else
|
else
|
||||||
conf[k] = v
|
conf[k] = v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ function get_config()
|
||||||
-- Default configuration values
|
-- Default configuration values
|
||||||
default_conf = {
|
default_conf = {
|
||||||
portal_scheme = "https",
|
portal_scheme = "https",
|
||||||
portal_path = "/ssowat",
|
portal_path = "/ssowat/",
|
||||||
local_portal_domain = "yunohost.local",
|
local_portal_domain = "yunohost.local",
|
||||||
domains = { conf["portal_domain"], "yunohost.local" },
|
domains = { conf["portal_domain"], "yunohost.local" },
|
||||||
session_timeout = 60 * 60 * 24, -- one day
|
session_timeout = 60 * 60 * 24, -- one day
|
||||||
|
|
Loading…
Reference in a new issue