janko / rodauth-rails

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

HTML not rendering in production vs development environment. #182

Closed Swalden closed 1 year ago

Swalden commented 1 year ago

Hi,

I'm having issues with html not being rendered in production vs my development environment. I'm really lost as to the cause here. I've attached two photos. The one with more HTML under the login button as well as the text saying Footer (which is actually in the layout HTML file.) is the development environment.

Only screens using Rodauth are dropping the HTML in production. I'm really unsure why.

CleanShot 2022-12-09 at 16 47 07@2x CleanShot 2022-12-09 at 16 46 51@2x
janko commented 1 year ago

The official Rails demo is working just fine in production environment, so I think you have something different in your code that's causing issues. If you want me to help you debug, I would need you to reproduce the issue in a fresh Rails application.

It's unlikely this is a bug in rodauth-rails, so I'm closing the issue, and will reopen if it indeed turns out to be a bug.