mirror of
https://github.com/wassname/flask-security.git
synced 2026-08-18 12:00:35 +08:00
Add configurable http auth realm and optional realm specification in http_auth_required decorator
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user