Skip to content

Add endpoint to check authentication#175

Merged
freshfish70 merged 2 commits intodevelopfrom
feature/fix-login-state-no-exists
Apr 29, 2021
Merged

Add endpoint to check authentication#175
freshfish70 merged 2 commits intodevelopfrom
feature/fix-login-state-no-exists

Conversation

@freshfish70
Copy link
Copy Markdown
Member

@freshfish70 freshfish70 commented Apr 28, 2021

coupled with anovote/frontend#248 and should be merged together

@freshfish70 freshfish70 added bug This is a bug feature A new feature we need to add infastructure Code, work, cloud infastructure related labels Apr 28, 2021
@freshfish70 freshfish70 added this to the Sprint 16 milestone Apr 28, 2021
@freshfish70 freshfish70 self-assigned this Apr 28, 2021
Comment thread src/api/routes/auth/index.ts Outdated
*/
router.use(checkAuth).get('/authenticated', (_, response, next) => {
try {
return response.status(StatusCodes.OK)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you not have to call .send()?

@freshfish70 freshfish70 merged commit 901a1cc into develop Apr 29, 2021
@spiftire spiftire deleted the feature/fix-login-state-no-exists branch May 3, 2021 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This is a bug feature A new feature we need to add infastructure Code, work, cloud infastructure related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants