WulinAuth engine provides simple email-based authentication to your Rails app.
-
Add ‘gem wulin_auth’ to your Gemfile:
gem wulin_auth
-
Run bundler to install the gem:
bundle install
-
Configure the following in the main app environment configuration file:
config.action_mailer.default_url_options = { :host => "localhost:3000" }
-
Configure the password reset mail from:
WulinAuth.setup do |config| config.password_reset_email_from = "noreply@domain.tld" end
-
Don’t forget to run the db:migrate rake command:
bundle exec rake db:migrate
Jimmy Huang, Xu Hao, Ben Zheng and Maxime Guilbot from Ekohe.
WulinAuth is released under the MIT license.