Activity

  Dennis Hackethal addressed criticism #2688.

The thread suggests a workaround: use authenticated do … blocks in routes.rb instead of before_action :authenticate_user! in controllers.

It’s probably a good idea to do this anyway to avoid divulging the existence of routes that unauthenticated users don’t need to know exist. (They will get a 404 instead of a 401.)

#2688·Dennis HackethalOP revised 2 days ago

Then again, I’d want to redirect users to the sign-in page (and then ideally back to where they were trying to go).