I tried rake db:reset
and now I can;t access it the [email protected]|password it returns a invalid user/password when im logging in. I checked my database it's in there why is that so?
id email encrypted_password reset_password_token reset_password_sent_at remember_created_at sign_in_count current_sign_in_at last_sign_in_at current_sign_in_ip last_sign_in_ip created_at updated_at
---------- ----------------- ------------------------------------------------------------ -------------------- ---------------------- -------------------------- ------------- -------------------------- -------------------------- ------------------ --------------- -------------------------- --------------------------
1 [email protected] $2a$10$cCUYBOKQHAZhpYgdLIZIWuQArkrsjpgIMu9/kk17127Oj.DKYwVxa 2012-04-19 15:23:02.857402 36 2012-04-25 02:37:36.689711 2012-04-25 02:31:55.088037 127.0.0.1 127.0.0.1 2012-03-09 16:23:58.779104 2012-04-25 02:37:36.692613
sqlite>
do
$ rails console
>> AdminUser.create :email => '[email protected]', :password => 'password', :password_confirmation => 'password'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With