Account sign up error

I am trying to test the sign up feature of my app but when I click create account button I get an error saying “You have to be logged in to modify your account” (see image below). How do I fix this?

Have you built this feature by yourself or are you using some template?
What actions are used in your signup WF?

No I fixed it, I accidentally put “send confirmation email” block before the “sign user up” block

Didn’t realized the “send confirmation email” block was only for logged in users

Yep, you can’t send a confirmation email to a user until he is created in your DB.