First up, this adds a debug message so that when you are testing account verification, the email that is sent is diplayed as a debug message, so you can get at the verification URL
Next, it fixes the redirect_to, which requires at least 2 arguments, but we were only providing one.
Finally, after fixing the redirect_to issue, the following error appeared when trying to verify an account:
ProgrammingError: (psycopg2.ProgrammingError) missing FROM-clause entry for table "accountstatus"
LINE 1: UPDATE people SET password_token=NULL, status=AccountStatus....
^
[SQL: 'UPDATE people SET password_token=%(password_token)s, status=%(status)s, update_timestamp=CURRENT_TIMESTAMP WHERE people.id = %(people_id)s'] [parameters: {'status': <AccountStatus.ACTIVE: 1>, 'people_id': 10007, 'password_token':
None}]
First up, this adds a debug message so that when you are testing account verification, the email that is sent is diplayed as a debug message, so you can get at the verification URL
Next, it fixes the redirect_to, which requires at least 2 arguments, but we were only providing one.
Finally, after fixing the redirect_to issue, the following error appeared when trying to verify an account:
changing
to
fixed this issue