Do I need to logout a user before logging in as another?

So I have this theme, which will mention you are still logged in as a user if you are logged in, and if you go to the login page.

I can take out this part of the code, and go straight to the login page so that user can login as someone new. It's basically the same as going to the wp-login page again and logging in as a new user.

Is this bad practice or is it fine ? Or are there some security considerations/cache/nonce I need to think about.

Thanks all.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer