Browse Source

Strip nextLink from validation emails

Andrew Morgan 3 years ago
parent
commit
442f8d6317
1 changed files with 0 additions and 2 deletions
  1. 0 2
      sydent/http/servlets/emailservlet.py

+ 0 - 2
sydent/http/servlets/emailservlet.py

@@ -60,8 +60,6 @@ class EmailRequestCodeServlet(Resource):
         brand = self.sydent.brand_from_request(request)
 
         nextLink = None
-        if 'next_link' in args and not args['next_link'].startswith("file:///"):
-            nextLink = args['next_link']
 
         try:
             sid = self.sydent.validators.email.requestToken(