HackYourFuture-CPH / Guide-IT

Guide IT, a tool to help newcomers decide their IT path
MIT License
3 stars 1 forks source link

Added auth.currentUser check #221

Closed cph-kiwi closed 3 years ago

cph-kiwi commented 3 years ago

Description

The Next button was not working for unauthenticated users of the quiz page after they had selected an answer. The problem should be fixed now.

Fixes # https://github.com/HackYourFuture-CPH/Guide-IT/issues/219

How to test?

Open the branch, run "npm run dev", then follow the quiz through as an unauthenticated user.

Checklist

ghost commented 3 years ago

This does not work for me. If im logged in i can go through the test, but if im not logged ind, nothing happens when i press next. I get the following response from the API error 403 'error "Forbidden"'

cph-kiwi commented 3 years ago

Ok @ditlevHYF . I'll check it out.

Enqira commented 3 years ago

Tested it, works as it should for me.