web2py / py4web

Other
244 stars 126 forks source link

Retrieve action_token in safe mode #909

Closed mbelletti closed 3 weeks ago

mbelletti commented 4 weeks ago

user.get("action_token") instead user['action_token'] to prevent errors if action_token is not created from an auth plugin.

Fix https://github.com/web2py/py4web/issues/905