Skip to content

Commit

Permalink
make an authentication token for the test user so the token demo page…
Browse files Browse the repository at this point in the history
… will work
  • Loading branch information
ccabot authored and josevalim committed Oct 15, 2010
1 parent 38a87f1 commit ff5dee4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/setup.rake
Expand Up @@ -6,6 +6,7 @@ namespace :devise do
u.email = 'user@test.com'
u.password = 'user123'
u.password_confirmation = 'user123'
u.ensure_authentication_token!
end
user.confirm!
puts 'New user created!'
Expand Down

0 comments on commit ff5dee4

Please sign in to comment.