Add configurable http auth realm and optional realm specification in http_auth_required decorator

This commit is contained in:
Matt Wright
2012-07-12 14:16:54 -04:00
parent a2d31d1d8d
commit dcdfb4d3e7
4 changed files with 51 additions and 11 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ _default_config = {
'CONFIRM_SALT': 'confirm-salt',
'RESET_SALT': 'reset-salt',
'AUTH_SALT': 'auth-salt',
'DEFAULT_HTTP_AUTH_HEADER': 'Basic realm="Login Required"'
'DEFAULT_HTTP_AUTH_REALM': 'Login Required'
}