mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Auth header : apparently doesn't work as expect if password is emtpy, so let's add a dummy char
This commit is contained in:
parent
e9a335eaf7
commit
0566f31c4b
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ function set_basic_auth_header()
|
||||||
|
|
||||||
-- Set `Authorization` header to enable HTTP authentification
|
-- Set `Authorization` header to enable HTTP authentification
|
||||||
ngx.req.set_header("Authorization", "Basic "..ngx.encode_base64(
|
ngx.req.set_header("Authorization", "Basic "..ngx.encode_base64(
|
||||||
authUser..":"
|
authUser..":-"
|
||||||
))
|
))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue