Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Render auth token when registering a use with JSON

  • Loading branch information...
commit af8e9f7ca5a70746f1c8dd125f2702960278f223 1 parent 6e461a8
@mattupstate authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  flask_security/views.py
View
1  flask_security/views.py
@@ -123,6 +123,7 @@ def register():
if not request.json:
return redirect(get_post_register_redirect())
+ return _render_json(form, True)
if request.json:
return _render_json(form)
Please sign in to comment.
Something went wrong with that request. Please try again.