Flask-security: Cannot send registration email

Created on 14 Aug 2017  路  4Comments  路  Source: mattupstate/flask-security

When I configure the app to send registration emails, registration fails with:

ValueError: too many values to unpack

See https://github.com/mattupstate/flask-mail/issues/148

I traced back the error to this line:
https://github.com/mattupstate/flask-security/blob/develop/flask_security/utils.py#L387
the _security var is a LocalProxy

cc @filipmihal

Most helpful comment

I will try to add one in January.

All 4 comments

@ochronus we should probably change it to str(_security.email_sender).

@jirikuncar when will be the next release with this issue fixed? And is there any workaround?

I think this is solved my issue. Too bad it's not in master branch, do you have a plans to release a new tag soon? Now I use a develop version of the branch and not so happy about it.

I will try to add one in January.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tim-hub picture tim-hub  路  4Comments

PierreRochard picture PierreRochard  路  6Comments

swedishmike picture swedishmike  路  5Comments

williamcheng-web picture williamcheng-web  路  4Comments

lashex picture lashex  路  3Comments