mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	New user avatar
This commit is contained in:
		@@ -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 Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 14 KiB  | 
		Reference in New Issue
	
	Block a user