-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.php
25 lines (24 loc) · 968 Bytes
/
info.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/*
* Project: ChatGPT API
* Author: Vontainment
* URL: https://vontainment.com
* File: ../app/pages/info.php
* Description: ChatGPT API Status Generator
*/
?>
<main class="flex-container">
<section id="left-col">
<h3>Change Password</h3>
<form action="/info" method="POST">
<label for="username">Username:</label>
<input type="text" name="username" id="username" value="<?php echo htmlspecialchars($_SESSION['username']); ?>" readonly required>
<label for="password">New Password:</label>
<input type="password" name="password" id="password" required>
<label for="password2">Confirm New Password:</label>
<input type="password" name="password2" id="password2" required>
<button type="submit" class="green-button" name="change_password">Change Password</button>
</form>
<?php echo display_and_clear_messages(); ?>
</section>
</main>