Commit 3955b8cf authored by Guillaume Mella's avatar Guillaume Mella
Browse files

leave url so email can redirect the user properly

parent 59cbe39f
Pipeline #34172 passed with stage
in 3 minutes and 10 seconds
......@@ -156,8 +156,8 @@ class import_new_data():
self.session.add(self.sub)
# all is well, send mail if we have a sender.email config set ...
verify_url = self.request.route_path('verify',token=self.sub.upload_ticket)
moderate_url = self.request.route_path('moderate-submission', token=self.sub.moderate_ticket)
verify_url = self.request.route_url('verify',token=self.sub.upload_ticket)
moderate_url = self.request.route_url('moderate-submission', token=self.sub.moderate_ticket)
print("DEBUG: moderation url %s"%(moderate_url))
try:
sender = self.request.registry.settings['jmdc.sender.email']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment