mirror of
				https://github.com/StefBuwalda/WebTech.git
				synced 2025-10-30 19:29:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			304 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			304 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from flask_wtf import FlaskForm  # type: ignore
 | |
| from wtforms import StringField, SubmitField, PasswordField, validators
 | |
| 
 | |
| 
 | |
| class LoginForm(FlaskForm):
 | |
|     username = StringField("Username", validators=[validators.DataRequired()])
 | |
|     password = PasswordField("Password")
 | |
|     submit = SubmitField("Login")
 |