# Open the login popup immediately when accessing the website

**URL:** https://meta.discourse.org/t/open-the-login-popup-immediately-when-accessing-the-website/265094
**Category:** Support
**Created:** [May 15, 2023, 5:17pm UTC](https://meta.discourse.org/t/open-the-login-popup-immediately-when-accessing-the-website/265094 "2023-05-15T17:17:21Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 15, 2023, 6:25pm UTC](https://meta.discourse.org/t/open-the-login-popup-immediately-when-accessing-the-website/265094/2 "2023-05-15T18:25:36Z")

</div>

admin - settings - `login required` set to enabled.

 ![IMG_3333](https://global.discourse-cdn.com/meta/original/4X/6/3/6/636039972e1b648ce6cd4279b9d0ca50544bc5f2.jpeg)

if you want more granular controls or a different approach, there is also @Don’s guest gate theme component:

> [@Guest Gate Theme Component](https://meta.discourse.org/t/guest-gate-theme-component/225107):
>
> Hello wave This theme component is created from [Guest Gate (Sign Up Popup Plugin)](https://meta.discourse.org/t/guest-gate-sign-up-popup-plugin/56625/). It can lock topics for anon visitors with a modal and force them to Sign Up or Login. The component can be use for an alert modal, encouraging visitors to sign up but allowing them to close the modal (for this, leave the dismissable false setting unchecked). Options include changing the number of topics that can be viewed before the modal is displayed. Tip: If you use the …

---

_[View the full topic](https://meta.discourse.org/t/open-the-login-popup-immediately-when-accessing-the-website/265094)._
