Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Episode 124 Beta Invitations User Signup

Mab879 edited this page Oct 13, 2011 · 4 revisions

Ok, if an invitation is required to sign up, how do you sign up an initial, “admin” user?

I ran the rake db:fixtures:load, and I looked at the rake source, but the passwords are not listed, so I have no idea what they are ;)

I tried putting an invitation token called ‘test’ into the invitations table, then tried http://localhost/signup/test.

I get :

  1. invitation is required
  2. Invitation has already been taken

I dumped the params, and the invitation_token is blank, so it doesn’t seem to be getting picked up from the browser url.

  • EDIT.. actually the params ARE being passed to the ‘Users’ ‘new’ action, but apparently the authenticaton is failing somewhere.

I’m running rails 2.2.2.

Any ideas ?

Mike

Mike,
Create a user in database via rails c.

Mab879

Clone this wiki locally