restore 1.10
Ticket #598
use admin user when using a special username
Correct comment
Terminate comment correctly
Pointy-hat-to: GeekGod
Duplicate logic to htpasswd_backed_basic_auth()
honour custom username set in webConfigurator page
If there's a PHP_AUTH_* copy it over to AUTH_* (mini sets AUTH_*, lighttpd sets PHP_AUTH_*)
Change realm to .
Ticket #337
Remove trailing space
Better regexpCourtesy-of: strgout
better regexp
md5's can have '/'s in them apparently...doh
ensure .htpasswd doesn't exist
split out auth types (system passwd vs htpasswd)PHP_AUTH_* no longer exists, change code to use AUTH_* (I think this will be changing back as I believe we're using the wrong mini_httpd patches now)
Initial commit of PHP side authentication code for pfSense