mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-10-30 17:47:55 +00:00 
			
		
		
		
	Merge pull request #834 from hoellen/token-ipv6
allow ipv6 addresses for tokens
This commit is contained in:
		| @@ -8,6 +8,7 @@ upgrading Freposte.io as some changes will include useful notes. | |||||||
| v1.6.1 - unreleased | v1.6.1 - unreleased | ||||||
| ------------------- | ------------------- | ||||||
| - Enhancement: Make Unbound drop privileges after binding to port | - 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 | v1.6.0 - 2019-01-18 | ||||||
| ------------------- | ------------------- | ||||||
|   | |||||||
| @@ -137,7 +137,7 @@ class TokenForm(flask_wtf.FlaskForm): | |||||||
|     raw_password = fields.HiddenField([validators.DataRequired()]) |     raw_password = fields.HiddenField([validators.DataRequired()]) | ||||||
|     comment = fields.StringField(_('Comment')) |     comment = fields.StringField(_('Comment')) | ||||||
|     ip = fields.StringField( |     ip = fields.StringField( | ||||||
|         _('Authorized IP'), [validators.Optional(), validators.IPAddress()] |         _('Authorized IP'), [validators.Optional(), validators.IPAddress(ipv6=True)] | ||||||
|     ) |     ) | ||||||
|     submit = fields.SubmitField(_('Save')) |     submit = fields.SubmitField(_('Save')) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 hoellen
					hoellen