Split authentication concern from ApplicationController #289

Merged
dwightwatson merged 3 commits from authentication_concern into main 2024-02-05 03:05:13 +08:00
dwightwatson commented 2024-02-04 17:47:32 +08:00 (Migrated from github.com)

This breaks out all the authentication methods from the root ApplicationController into a specific concern and includes it.

It might be interesting to replace the need for current_user and current_family helpers altogether - I'd imagine using the Current model directly should suffice. Happy to explore that if you're down for it.

This breaks out all the authentication methods from the root `ApplicationController` into a specific concern and includes it. It might be interesting to replace the need for `current_user` and `current_family` helpers altogether - I'd imagine using the `Current` model directly should suffice. Happy to explore that if you're down for it.
robzolkos (Migrated from github.com) approved these changes 2024-02-04 22:45:20 +08:00
Shpigford commented 2024-02-05 03:05:10 +08:00 (Migrated from github.com)

@dwightwatson Good work on this!

Re: replacing current_user/current_family, you're welcome to open a draft PR exploring that. Just be sure to layout pros/cons.

@dwightwatson Good work on this! Re: replacing `current_user`/`current_family`, you're welcome to open a draft PR exploring that. Just be sure to layout pros/cons.
Sign in to join this conversation.