hexlet-rus / runit

Online Editor Form Embedding
https://runit.hexlet.ru/
Other
34 stars 114 forks source link

Bug: Registered user menu is missing after authorization from guest mode #514

Open KseniyaKerzhner opened 1 month ago

KseniyaKerzhner commented 1 month ago

Summary

When logging in after using the snippet without registering, the menu remains the same as if the user had not been registered.

https://github.com/hexlet-rus/runit/assets/34837694/c5d4d9e0-cf39-432b-ac94-2c85c9bcc6c1

Reproduction steps

1. Open https://runit.hexlet.ru/
2. Click "Code without registration"
3. Create a snippet in any language
4. Select "Register" in the menu
5. Click "Sign in with GitHub."
6. Press the menu again

Expected result

The registered user menu pops up with "Settings" and "Logout".

image

Actual result

Unregistered user menu with "Register" pops up

image

Browsers

Chrome

OS

Windows

bobrov-site commented 1 month ago

Хорошее замечание.