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
|
||||
|
||||
URI of the authentication portal (**default**: `/ssowat`)
|
||||
URI of the authentication portal (**default**: `/ssowat/`). This path **must** end with “`/`”.
|
||||
|
||||
#### 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
|
||||
|
||||
|
@ -86,7 +86,7 @@ Whether authentication should use secure connection or not (**default**: `https`
|
|||
|
||||
#### domains
|
||||
|
||||
List of handle domains (**default**: similar to `portal_domain`)
|
||||
List of handled domains (**default**: similar to `portal_domain`)
|
||||
|
||||
#### ldap_host
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ function get_config()
|
|||
-- Else just take the persistent rule's value
|
||||
else
|
||||
conf[k] = v
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -41,7 +41,7 @@ function get_config()
|
|||
-- Default configuration values
|
||||
default_conf = {
|
||||
portal_scheme = "https",
|
||||
portal_path = "/ssowat",
|
||||
portal_path = "/ssowat/",
|
||||
local_portal_domain = "yunohost.local",
|
||||
domains = { conf["portal_domain"], "yunohost.local" },
|
||||
session_timeout = 60 * 60 * 24, -- one day
|
||||
|
|
Loading…
Reference in a new issue