diff options
author | cflip <36554078+cflip@users.noreply.github.com> | 2021-01-24 13:33:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 13:33:31 -0700 |
commit | 3b448bc3b3da97e7945dfc0bd05f91aa83d6e862 (patch) | |
tree | c0572f1a5da9a95210b18fc5b29f407cd2a4f9c4 /header.php | |
parent | b08ca01d49b3683b62d2d9f2f6fefc1a73da71a0 (diff) | |
parent | d10e573e3e1b4806f9da22aae584a6d75efeb5f2 (diff) |
Merge pull request #5 from cflip/change_password
Change password page
Diffstat (limited to 'header.php')
-rw-r--r-- | header.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,10 +19,10 @@ session_start(); <div id="user"> <?php if (isset($_SESSION['signed_in'])) { - echo 'Signed in as <b>' . $_SESSION['user_name'] . '</b>. <a href="includes/signout_inc.php">Log out</a>'; + echo 'Signed in as <a href="user.php?id='. $_SESSION['user_id'] .'">' . $_SESSION['user_name'] . '</a> <a href="includes/signout_inc.php">Log out</a>'; } else { echo '<a href="signin.php">Sign in</a> or <a href="register.php">Register an account</a>'; } ?> </div> - </nav>
\ No newline at end of file + </nav> |