Add ReverseProxy authentication (pull-request #199)

This commit is contained in:
Frédéric Guillot
2014-08-13 12:47:17 -07:00
parent 66b5659578
commit b92935d2dc
5 changed files with 109 additions and 19 deletions

View File

@@ -71,3 +71,12 @@ define('GITHUB_CLIENT_ID', '');
// GitHub client secret key (Copy it from your settings -> Applications -> Developer applications)
define('GITHUB_CLIENT_SECRET', '');
// Enable/disable the reverse proxy authentication
define('REVERSE_PROXY_AUTH', false);
// Header name to use for the username
define('REVERSE_PROXY_USER_HEADER', 'REMOTE_USER');
// Username of the admin, by default blank
define('REVERSE_PROXY_DEFAULT_ADMIN', '');