jeremyevans / rodauth

Ruby's Most Advanced Authentication Framework
http://rodauth.jeremyevans.net
MIT License
1.69k stars 95 forks source link

Implement `#lock_account` without setting `@account` #174

Closed janko closed 3 years ago

janko commented 3 years ago

This is a really small thing, but I noticed that #lock_account in internal_request feature can be implemented without setting @account (at least without any test failures), so I thought it's worth the change.

jeremyevans commented 3 years ago

Thanks for the patch! This definitely looks simpler.