15
15
``SECURITY_URL_PREFIX `` Specifies the URL prefix for the
16
16
Flask-Security blueprint. Defaults to
17
17
``None ``.
18
- ``SECURITY_FLASH_MESSAGES `` Specifies wether or not to flash
18
+ ``SECURITY_FLASH_MESSAGES `` Specifies whether or not to flash
19
19
messages during security procedures.
20
20
Defaults to ``True ``.
21
21
``SECURITY_PASSWORD_HASH `` Specifies the password hash algorithm to
@@ -69,37 +69,37 @@ URLs and Views
69
69
``SECURITY_CONFIRM_ERROR_VIEW `` Specifies the view to redirect to if a
70
70
confirmation error occurs. This value can be set
71
71
to a URL or an endpoint name. If this value is
72
- ``None `` the user is presented the default view
72
+ ``None ``, the user is presented the default view
73
73
to resend a confirmation link. Defaults to
74
74
``None ``.
75
75
``SECURITY_POST_REGISTER_VIEW `` Specifies the view to redirect to after a user
76
76
successfully registers. This value can be set to
77
77
a URL or an endpoint name. If this value is
78
- ``None `` the user is redirected to the value of
78
+ ``None ``, the user is redirected to the value of
79
79
``SECURITY_POST_LOGIN_VIEW ``. Defaults to
80
80
``None ``.
81
81
``SECURITY_POST_CONFIRM_VIEW `` Specifies the view to redirect to after a user
82
82
successfully confirms their email. This value
83
83
can be set to a URL or an endpoint name. If this
84
- value is ``None `` the user is redirected to the
84
+ value is ``None ``, the user is redirected to the
85
85
value of ``SECURITY_POST_LOGIN_VIEW ``. Defaults
86
86
to ``None ``.
87
87
``SECURITY_POST_RESET_VIEW `` Specifies the view to redirect to after a user
88
88
successfully resets their password. This value
89
89
can be set to a URL or an endpoint name. If this
90
- value is ``None `` the user is redirected to the
90
+ value is ``None ``, the user is redirected to the
91
91
value of ``SECURITY_POST_LOGIN_VIEW ``. Defaults
92
92
to ``None ``.
93
93
``SECURITY_POST_CHANGE_VIEW `` Specifies the view to redirect to after a user
94
94
successfully changes their password. This value
95
95
can be set to a URL or an endpoint name. If this
96
- value is ``None `` the user is redirected to the
96
+ value is ``None ``, the user is redirected to the
97
97
value of ``SECURITY_POST_LOGIN_VIEW ``. Defaults
98
98
to ``None ``.
99
99
``SECURITY_UNAUTHORIZED_VIEW `` Specifies the view to redirect to if a user
100
100
attempts to access a URL/endpoint that they do
101
101
not have permission to access. If this value is
102
- ``None `` the user is presented with a default
102
+ ``None ``, the user is presented with a default
103
103
HTTP 403 response. Defaults to ``None ``.
104
104
=============================== ================================================
105
105
@@ -144,7 +144,7 @@ Feature Flags
144
144
========================= ======================================================
145
145
``SECURITY_CONFIRMABLE `` Specifies if users are required to confirm their email
146
146
address when registering a new account. If this value
147
- is `True ` Flask-Security creates an endpoint to handle
147
+ is `True `, Flask-Security creates an endpoint to handle
148
148
confirmations and requests to resend confirmation
149
149
instructions. The URL for this endpoint is specified
150
150
by the ``SECURITY_CONFIRM_URL `` configuration option.
@@ -158,11 +158,11 @@ Feature Flags
158
158
specified by the ``SECURITY_RESET_URL `` configuration
159
159
option. Defaults to ``False ``.
160
160
``SECURITY_TRACKABLE `` Specifies if Flask-Security should track basic user
161
- login statistics. If set to ``True `` ensure your
161
+ login statistics. If set to ``True ``, ensure your
162
162
models have the required fields/attribues. Defaults to
163
163
``False ``
164
164
``SECURITY_PASSWORDLESS `` Specifies if Flask-Security should enable the
165
- passwordless login feature. If set to ``True `` users
165
+ passwordless login feature. If set to ``True ``, users
166
166
are not required to enter a password to login but are
167
167
sent an email with a login link. This feature is
168
168
experimental and should be used with caution. Defaults
0 commit comments