From 5c74ad2dc02a8563e2364d7b82b8871db5f6dfc8 Mon Sep 17 00:00:00 2001 From: devStorm <59678453+developStorm@users.noreply.github.com> Date: Thu, 13 May 2021 16:55:46 -0700 Subject: [PATCH] :warning: Remove word list check --- app/dashboard/views/custom_alias.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/dashboard/views/custom_alias.py b/app/dashboard/views/custom_alias.py index d96b7f05..77aab019 100644 --- a/app/dashboard/views/custom_alias.py +++ b/app/dashboard/views/custom_alias.py @@ -295,14 +295,6 @@ def verify_prefix_suffix(user: User, alias_prefix, alias_suffix) -> bool: LOG.exception("User %s submits a wrong alias suffix %s", user, alias_suffix) return False - random_word_part = alias_domain_prefix[1:] - if not word_exist(random_word_part): - LOG.exception( - "alias suffix %s needs to start with a random word, user %s", - alias_suffix, - user, - ) - return False else: if alias_domain not in user_custom_domains: if not DISABLE_ALIAS_SUFFIX: