<label>Repeat password<input type="password" name="repeat_password"></label> <input type="hidden" name="action" value="change_password"> <br> <button type="submit">Change my password</button> </form> <h1>Sessions</h1> <form method="POST" action=""> <?php if (isset($_POST['action']) && 'close_all_sessions' === $_POST['action']) { Session::closeAll(); echo '<div class="msg msg-info">Sesiones borradas</div>'; } else { ?> <input type="hidden" name="action" value="close_all_sessions"> <br> <button type="submit">Close other sessions</button> <?php } ?> </form> <table class="table"> <tr> <th>SessionID</th>