mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
Merge pull request #834 from hoellen/token-ipv6
allow ipv6 addresses for tokens
This commit is contained in:
commit
808092c65e
@ -8,6 +8,7 @@ upgrading Freposte.io as some changes will include useful notes.
|
||||
v1.6.1 - unreleased
|
||||
-------------------
|
||||
- Enhancement: Make Unbound drop privileges after binding to port
|
||||
- Enhancement: Create an Authentication Token with IPv6 address restriction ([#829](https://github.com/Mailu/Mailu/issues/829))
|
||||
|
||||
v1.6.0 - 2019-01-18
|
||||
-------------------
|
||||
|
@ -137,7 +137,7 @@ class TokenForm(flask_wtf.FlaskForm):
|
||||
raw_password = fields.HiddenField([validators.DataRequired()])
|
||||
comment = fields.StringField(_('Comment'))
|
||||
ip = fields.StringField(
|
||||
_('Authorized IP'), [validators.Optional(), validators.IPAddress()]
|
||||
_('Authorized IP'), [validators.Optional(), validators.IPAddress(ipv6=True)]
|
||||
)
|
||||
submit = fields.SubmitField(_('Save'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user