Added a page for removed urls

This commit is contained in:
xemeds
2020-09-06 14:13:54 +03:00
parent 436473134f
commit 5213698da2
5 changed files with 24 additions and 1 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ def validate_token(form, field):
return
# If the token is the same as a pages route
if field.data == "tracker" or field.data == "lookup" or field.data == "report" or field.data == "donate":
if field.data == "tracker" or field.data == "lookup" or field.data == "report" or field.data == "donate" or field.data == "removed":
# Raise a ValidationError
raise ValidationError("Token already exists")