Skip to content

Fix token in email

Johannes Zumthurm requested to merge testfix into master

Created by: NotSpecial

The email tests failed because the token could not be decoded. This PR fixes this.

The tokens were returned as bytes, and for some reason, the url_for that turns the token into a clickable link would take the b'...' and apply some escaping, resulting in b%27...%27. This is not intended, the tokens should be included as utf-8 strings in the link.

I'm not quite sure why the tests did not fail before, but now everything is working as intended.

Merge request reports

Loading