tupuio / tupuapp

Tupu web application based on Next.js & Xata.io
https://tupu.io
Apache License 2.0
4 stars 3 forks source link

Name not updated in the top-right menu #121

Open lorepirri opened 1 year ago

lorepirri commented 1 year ago

Describe the bug

image
lorepirri commented 1 year ago

this is because the user name is hardcoded when we log in using the developer credentials

maranta1 commented 1 year ago

Does this mean there is nothing to fix here?

lorepirri commented 1 year ago

Does this mean there is nothing to fix here?

Not here. It's more like we need to fix the login part in #130 and also with email, because it gets the data hardcoded:

https://github.com/tupuio/tupuapp/blob/9c85c3b64134d9830b4349add6e8ee77cf6fb92e/pages/api/auth/%5B...nextauth%5D.js#L66-L71