# Need to enable Auto-login, but hide auto-login button on login screen

**URL:** <https://forum.inductiveautomation.com/t/need-to-enable-auto-login-but-hide-auto-login-button-on-login-screen/28613>\
**Category:** Ignition\
**Tags:** ignition79, ignition80\
**Created:** [September 27, 2019, 9:49am UTC](https://forum.inductiveautomation.com/t/need-to-enable-auto-login-but-hide-auto-login-button-on-login-screen/28613 "2019-09-27T09:49:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [September 27, 2019, 9:49am UTC](https://forum.inductiveautomation.com/t/need-to-enable-auto-login-but-hide-auto-login-button-on-login-screen/28613/1 "2019-09-27T09:49:33Z")

</div>

I need to **enable the auto-login** in the project (with user “autolog-user”)  
But I don’t wan’t the “Auto Login” button on the login screen.

I have the same project for **PC client** and **TV client**.  
clientTagModeTV is set by the launcher commnand.

In the client start script,

```
username = system.security.getUsername()
if username == "autolog-user" && clientTagModeTV:
	system.security.logout()

```

The setting enable the auto-login manage the visibility of the “Auto login” button.  
It would be usefull if we can have a separate settings in the project properties for this button visibility…

---

_[View the full topic](https://forum.inductiveautomation.com/t/need-to-enable-auto-login-but-hide-auto-login-button-on-login-screen/28613)._
