# How switch to home tab only if the login details are correct

**URL:** <https://discourse.nodered.org/t/how-switch-to-home-tab-only-if-the-login-details-are-correct/29494>\
**Category:** General\
**Created:** [4 July 2020 10:34 UTC](https://discourse.nodered.org/t/how-switch-to-home-tab-only-if-the-login-details-are-correct/29494 "2020-07-04T10:34:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ani15](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@ani15](https://discourse.nodered.org/u/ani15)\
**Post date:** [4 July 2020 10:34 UTC](https://discourse.nodered.org/t/how-switch-to-home-tab-only-if-the-login-details-are-correct/29494/1 "2020-07-04T10:34:23Z")

</div>

i created a login tab which will check if the credentials entered are correct or not .so I want to switch on to home tab only if the login details are correct .....i dont know how to achieve the same...pls help...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 September 2020 10:34 UTC](https://discourse.nodered.org/t/how-switch-to-home-tab-only-if-the-login-details-are-correct/29494/2 "2020-09-02T10:34:33Z")

</div>

Closed on 2 September 2020 10:34 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
