Skip to content
Snippets Groups Projects
Commit 1871308f authored by danielmyren's avatar danielmyren
Browse files

Route changes

parent a082c699
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ def register(): ...@@ -98,7 +98,7 @@ def register():
# This will login the user and store a remember me cookie on the clients machine. # This will login the user and store a remember me cookie on the clients machine.
login_user(user, remember=False) login_user(user, remember=False)
user = current_app.security.datastore.find_user(username=_validated_username) # user = current_app.security.datastore.find_user(username=_validated_username)
# User successfully registered, confidential data should be sent here or when the user # User successfully registered, confidential data should be sent here or when the user
# performs API calls to protected endpoints. # performs API calls to protected endpoints.
return jsonify(success=True) return jsonify(success=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment