Skip to content

Update auth-router.js#1

Open
Cireimu wants to merge 2 commits into
masterfrom
return-user-id-via-auth
Open

Update auth-router.js#1
Cireimu wants to merge 2 commits into
masterfrom
return-user-id-via-auth

Conversation

@Cireimu

@Cireimu Cireimu commented Jan 8, 2020

Copy link
Copy Markdown
Contributor

I need user.id on successful auth so I can pull back recipes for that user after they've successfully logged in. I just added user.id to be returned along with the token and message.

Return user.id on successful auth
@Cireimu Cireimu requested a review from ddelfaus January 8, 2020 03:46
Fixing returning user.id to - user_id: user.id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant