Janko Marohnić

Results 206 comments of Janko Marohnić

If you still stay logged in when this happens, then it doesn't seem to me like `active_sessions` is responsible for this behavior. The `#check_active_session` call clears the session hash when...

Wait, does that `before_action` actually work with these changes? 🤔 It wasn't intended, but it's an interesting corrolary, and seems like a nice to have 🙂

It required one additional line to make per-action controller callbacks work 🤘🏻 I'm not sure if this isn't giving too much of an impression that the controller is processing the...

No, I just added it to this PR, so it hasn't yet been released.

@34code BTW, in the meanwhile you can just use a Rodauth hook: ```rb before_create_account_route do rails_controller_instance.send(:check_captcha) if request.post? end ``` Another thing that should be solved before merging this PR...

A big downside of these URL helpers are that it forces Rodauth to be loaded at boot time in development, since routes are loaded on boot. This means that people...

@Dainii I'm actually almost ready to close this PR, now that Rodauth allows [retrieving the current route](https://github.com/jeremyevans/rodauth/pull/381). I mostly wanted this to make locale switching easier, but the current route...

Yeah, I don't think we can display OmniAuth routes in the `rodauth:routes` task, because these are technically not Rodauth routes. rodauth-omniauth does add some path helpers for OmniAuth endpoints, but...

I decided not to pursue this pull request, because I think having Rails URL helpers alongside Rodauth URL helpers can add confusion, and suggest that requests are processed at the...

Yes, I plan on doing that 👍🏻 That version constraint was intentional, as there will be changes needed to support MiniMagick 5.