Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

add controller method to export current_user #661

Open
rosabraatz opened this issue Jun 3, 2016 · 1 comment
Open

add controller method to export current_user #661

rosabraatz opened this issue Jun 3, 2016 · 1 comment

Comments

@rosabraatz
Copy link
Contributor

To allow the rating-widget to show information about the current_user, we need a new controller method. It should return profile_picture, first_name, last_name, user_id.

@MrSerth
Copy link
Member

MrSerth commented Jun 3, 2016

We might need to set the HTTP Access-Control-Allow-Credentials in order to allow our script to send the session cookie to this route. Have a look at this StackOverflow thread: http://stackoverflow.com/questions/2870371/why-is-jquerys-ajax-method-not-sending-my-session-cookie

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants