March 17 2026: santinize code
This commit is contained in:
+3
-2
@@ -167,7 +167,8 @@ class IssueForm(FlaskForm):
|
||||
|
||||
class IssueUpdateForm(FlaskForm):
|
||||
status = SelectField('Status', choices=[
|
||||
('open','Open'), ('in_progress','In Progress'), ('resolved','Resolved'),
|
||||
('open','Open'), ('in_progress','In Progress'),
|
||||
('pending_verification','Pending Verification'), ('resolved','Resolved'),
|
||||
], validators=[DataRequired()])
|
||||
assigned_to = SelectField('Assign To', coerce=int, validators=[Optional()])
|
||||
update_notes = TextAreaField('Update Notes', validators=[Optional(), Length(max=1000)])
|
||||
@@ -222,4 +223,4 @@ class CustomerUserForm(FlaskForm):
|
||||
def validate_password(self, field):
|
||||
"""Password is required when creating a new account."""
|
||||
if self._user is None and not field.data:
|
||||
raise ValidationError('Password is required for new accounts.')
|
||||
raise ValidationError('Password is required for new accounts.')
|
||||
Reference in New Issue
Block a user