mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-05 12:13:17 +00:00
New user avatar
This commit is contained in:
app
@ -95,7 +95,7 @@ class UpdateProfileInformationForm(NopaqueForm):
|
||||
|
||||
|
||||
class UpdateAvatarForm(NopaqueForm):
|
||||
avatar = FileField('File', validators=[FileRequired(), LimitFileSize(2)])
|
||||
avatar = FileField('File', validators=[LimitFileSize(2)])
|
||||
submit = SubmitField()
|
||||
|
||||
def validate_avatar(self, field):
|
||||
|
Binary file not shown.
Before ![]() (image error) Size: 2.0 KiB After ![]() (image error) Size: 14 KiB ![]() ![]() |
Reference in New Issue
Block a user