stevepolitodesign / rails_mvp_authentication

An authentication generator for Rails 7. Generate all the files needed to create a feature rich authentication system that you control. No configuration needed.
MIT License
79 stars 7 forks source link

Fix branching login in test helper #56

Open stevepolitodesign opened 2 years ago

stevepolitodesign commented 2 years ago

This should be:

elsif  cookies[:remember_token].present
   ...
end

https://github.com/stevepolitodesign/rails_mvp_authentication/blob/365017fb3173e99e901926da067d44825a9310a1/lib/generators/rails_mvp_authentication/install_generator.rb#L230-L233

gdurelle commented 2 years ago

This is fixed.