mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-06 16:31:10 +00:00
New user avatar
This commit is contained in:
1 parent
35b239877a
commit
9167bffa61
2 files changed
+1
-1
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user