mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Alex made a drunk copypasta that broke everything lul - var user not defined ... In fact we don't need this debug line 'cause it's already done in redirect() itself
This commit is contained in:
parent
352de0a0fd
commit
4bc65fe8d4
1 changed files with 3 additions and 4 deletions
|
@ -74,7 +74,6 @@ then
|
|||
|
||||
-- Force portal scheme
|
||||
if ngx.var.scheme ~= conf["portal_scheme"] then
|
||||
logger.debug("Redirecting to "..conf.portal_url.."Cross-domain authentication: "..user.." connected on "..ngx.var.host)
|
||||
return hlp.redirect(conf.portal_url)
|
||||
end
|
||||
|
||||
|
@ -243,9 +242,9 @@ local longest_protected_match = hlp.longest_url_path(hlp.get_matches("protected"
|
|||
local longest_skipped_match = hlp.longest_url_path(hlp.get_matches("skipped")) or ""
|
||||
local longest_unprotected_match = hlp.longest_url_path(hlp.get_matches("unprotected")) or ""
|
||||
|
||||
logger.debug("longest skipped "..longest_skipped_match)
|
||||
logger.debug("longest unprotected "..longest_unprotected_match)
|
||||
logger.debug("longest protected "..longest_protected_match)
|
||||
logger.debug("Longest skipped : "..longest_skipped_match)
|
||||
logger.debug("Longest unprotected : "..longest_unprotected_match)
|
||||
logger.debug("Longest protected : "..longest_protected_match)
|
||||
|
||||
--
|
||||
-- 4. Skipped URLs
|
||||
|
|
Loading…
Reference in a new issue