# Broken layout for admin login

**URL:** https://meta.discourse.org/t/broken-layout-for-admin-login/325781
**Category:** Support
**Created:** [September 10, 2024, 7:43am UTC](https://meta.discourse.org/t/broken-layout-for-admin-login/325781 "2024-09-10T07:43:26Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [September 10, 2024, 7:58am UTC](https://meta.discourse.org/t/broken-layout-for-admin-login/325781/5 "2024-09-10T07:58:01Z")

</div>

Hi

Are you using Cloudflare? Cloudflare’s auto-minify will cause this.

> [@Using Discourse with Cloudflare: Best Practices](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405/1):
>
> **Content Optimization** should have Brotli turned on, Rocket Loader™ off, and ‘Auto Minify’ off.
> 
> [Go here to set Content Optimization](https://dash.cloudflare.com/?to=/:account/:zone/speed/optimization).
> 
> ⚠ Discourse gets plenty site down reports [due to Rocket Loader™ being on](https://meta.discourse.org/search?q=rocket%20loader%20order%3Alatest).

> [@Unexpected identifier \`#...\` SyntaxError](https://meta.discourse.org/t/unexpected-identifier-syntaxerror/307411/8):
>
> Also please make sure you have “Auto Minify” disabled. It looks like Cloudflare have deprecated this feature because of incompatibility with recent javascript features: Looks like you will need to purge your cache after doing that.

---

_[View the full topic](https://meta.discourse.org/t/broken-layout-for-admin-login/325781)._
