public
Created

  • Download Gist
gistfile1.rb
Ruby
1 2 3
@user = User.find_by_username('foobar')
@user.reset_persistence_token
//login functionality here

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.