User stuck in 'staged' status

I’ll have to try login in using the same email address using OAuth, but in the meantime, you can fix it with

cd /var/discourse
./launcher c app
User.where(email: "foo@example.com").update_all(staged: false)
1 个赞