# האם יש דרך להאזין לאירוע כניסת משתמש באמצעות רכיב Theme

**URL:** <https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976>\
**Category:** Development\
**Created:** [23 בנובמבר,‏ 2020,‏ 4:30am UTC](https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976 "2020-11-23T04:30:14Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Saurabh\_Khandelwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saurabh_khandelwal/32/156332_2.png) [@Saurabh\_Khandelwal](https://meta.discourse.org/u/Saurabh_Khandelwal)\
**Post date:** [25 בנובמבר,‏ 2020,‏ 8:31am UTC](https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976/5 "2020-11-25T08:31:25Z")

</div>

Hi, @Johani I have added a simple hyperlink (say “/new-topic”) within the popup box which opens in a new tab.  
When I click on that link it opens in a new tab but again it displays a Popup box as we have checked for the below conditions

```
!user.read_first_notification && !user.enforcedSecondFactor 

```

In my case, the Popup box should not be displayed after visiting the link

Can we update values for these properties after the Popup box is displayed once, if yes then how can we do this?

---

_[View the full topic](https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976)._
