# Perspective Key Event Regex New Line

**URL:** <https://forum.inductiveautomation.com/t/perspective-key-event-regex-new-line/51553>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 2, 2021, 6:01am UTC](https://forum.inductiveautomation.com/t/perspective-key-event-regex-new-line/51553 "2021-10-02T06:01:37Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [February 28, 2022, 4:55pm UTC](https://forum.inductiveautomation.com/t/perspective-key-event-regex-new-line/51553/12 "2022-02-28T16:55:32Z")

</div>

It continuously matches and calls `system.perspective.login` on matching 8-10 hexadecimal characters followed by enter.

It would also match and call the login if a user were to type this, we deemed that unlikely enough. The convenience of just tapping twice is more than worth it.

I would have preferred an existing session to be logged out if another user taps, but that is not the behaviour as described in this thread:

> [@Ignition idP Force Auth Behaviour](https://forum.inductiveautomation.com/t/ignition-idp-force-auth-behaviour/51554/3):
>
> Thanks. The onus is on the currently logged on user to log out when he is done anyway.

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-key-event-regex-new-line/51553)._
