Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Automatic logout if browser window is closed. How to avoid?


John Conners
Participant

@johnconners

If you want people to stay logged in after the end of the session, just add the following within the form element in the login-form.php template file:

<input name="remember" type="hidden" value="1" />

Just make sure it’s before the closing </form> tag.

Skip to toolbar