# Can't Logout When Comms Disabled

**URL:** <https://forum.inductiveautomation.com/t/cant-logout-when-comms-disabled/20324>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [October 23, 2018, 4:06pm UTC](https://forum.inductiveautomation.com/t/cant-logout-when-comms-disabled/20324 "2018-10-23T16:06:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrowe](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rrowe](https://forum.inductiveautomation.com/u/rrowe)\
**Post date:** [October 23, 2018, 4:06pm UTC](https://forum.inductiveautomation.com/t/cant-logout-when-comms-disabled/20324/1 "2018-10-23T16:06:36Z")

</div>

![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/11c0a35019ff8b7d71c397a3f22555cf01542af6.PNG)

Why can’t I logout? I’ve probably disabled some setting, but I’m not sure what or where it is…

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 23, 2018, 4:19pm UTC](https://forum.inductiveautomation.com/t/cant-logout-when-comms-disabled/20324/2 "2018-10-23T16:19:21Z")

</div>

Do you have autologin enabled for the project? That looks like the only way that button gets disabled.

---

<div class="post-metadata">

**Author:** ![rrowe](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rrowe](https://forum.inductiveautomation.com/u/rrowe)\
**Post date:** [October 23, 2018, 4:55pm UTC](https://forum.inductiveautomation.com/t/cant-logout-when-comms-disabled/20324/3 "2018-10-23T16:55:20Z")

</div>

Yes and I have to have it enabled (there’s no keyboard in this environment nor can we use an on screen keyboard).

Also, we want the application to be running in fullscreen mode, but I will change it to be windowed if that is the only way to close clients when this situation occurs (not ideal because I don’t want users to be able to open other applications or minimize/maximize this application)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 23, 2018, 4:57pm UTC](https://forum.inductiveautomation.com/t/cant-logout-when-comms-disabled/20324/4 "2018-10-23T16:57:19Z")

</div>

It’s a hack, but you _could_ do something like this:  
Project A has autologin enabled and a startup script that immediately [retargets](https://docs.inductiveautomation.com/display/DOC79/system.util.retarget) to project B  
Project B is your actual project, does _not_ have autologin enabled, but gets the ‘autologin’ credentials from the retarget from A

EDIT: ~~Actually, I’m not positive what happens when you retarget from auto-login to not. It probably doesn’t work. Hmm.~~ Nevermind, it does seem to work, at least in a quick test.

---

<div class="post-metadata">

**Author:** ![rrowe](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rrowe](https://forum.inductiveautomation.com/u/rrowe)\
**Post date:** [October 23, 2018, 7:36pm UTC](https://forum.inductiveautomation.com/t/cant-logout-when-comms-disabled/20324/5 "2018-10-23T19:36:24Z")

</div>

This works quite well. Thanks!
