Log the user in with a secret token in the url and optionally redirect them to a specified page.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/controllers
autotest
db/migrate
lib/tasks
test
README
Rakefile
url_login_extension.rb

README

= Url Login

Log the user in with a secret token in the url and optionally redirect them to a specified page.

== Example

login_link = "http://#{APP_DOMAIN}/login/#{user.create_token!}/#{'someurl'.encode}"