janko / rodauth-rails

Rails integration for Rodauth authentication framework
https://github.com/jeremyevans/rodauth
MIT License
571 stars 40 forks source link

fix: bug - rails_account should return nil when logged_in? == false #140

Closed benkoshy closed 2 years ago

benkoshy commented 2 years ago

Fix for rails_account not returning nil

Not sure if this is the implementation desired, or whether I am testing adequately: pls do not hesitate to send back any changes required.

janko commented 2 years ago

Yes, the implementation looks good, thanks!