authpwn_rails

User authentication for a Ruby on Rails 5 application.

Integration

Scaffold user accounts, and session controller views.

rails g authpwn:all

Wire authentication into your ApplicationController.

class ApplicationController
  authenticates_using_session
end

Note: the code inside the models and controllers is tucked away in the plug-in. The scaffold models and controllers are there as extension points. You will be able to update the plug-in without regenerating the scaffolds.

Migrating from older versions?

See the legacy/ directory a semi-automated way of migrating your database.

Note on Patches/Pull Requests

Copyright 2010-2016 Victor Costan, released under the MIT license.