Project

auto_auth

0.0
No commit activity in last 3 years
No release in over 3 years
Simple authentication templates ready to be customized.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.5
>= 0

Runtime

~> 4.2.0
 Project Readme

⚠️ This repository is no longer maintained

AutoAuth

A simple and sane rails authentication generator.

Generates roughly the following:

app/
    models/
        concerns/
            token_verification.rb
        user.rb
        identity.rb
        registration.rb
    controllers/
        concerns/
            authentication.rb
        sessions_controller.rb
        registrations_controller.rb
        passwords_controller.rb
    mailers
        identity_mailer.rb
    views
        passwords/
            edit.html.erb
            new.html.erb
        sessions/
            new.html.erb
        registrations/
            new.html.erb
        identity_mailer/
            confirm_email.html.erb
            reset_password.html.erb
      config/
          locales/
              auto_auth.en.yml

Installation

I wouldn't add this to my gemfile, since it's really only meant to be run once. Instead, do gem install auto_auth

And then execute:

$ rails generate auto_auth:install

Usage

By default I have my domain model named User and my identity model named Identity. You can customize this by passing --domain_model and --identity_model to the rails generator.

Contributing

  1. Fork it ( http://github.com//auto_auth/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request