Panel/Panel/modules/website/pages/login.php
2026-06-17 14:53:00 -05:00

28 lines
1.4 KiB
PHP

<?php
declare(strict_types=1);
?>
<section class="page-heading">
<div class="container">
<h1>Account Login</h1>
<p>Use the same account you use for the GSP control panel, support, orders, and server access.</p>
</div>
</section>
<section class="section">
<div class="container narrow-container">
<?php if ($error !== ''): ?>
<div class="alert warning"><?= website_escape($error) ?></div>
<?php endif; ?>
<form class="website-form" method="post" action="<?= website_escape(website_url('login.php')) ?>">
<input type="hidden" name="return" value="<?= website_escape($returnPath) ?>">
<label for="login">Username</label>
<input id="login" name="login" type="text" autocomplete="username" required>
<label for="password">Password</label>
<input id="password" name="password" type="password" autocomplete="current-password" required>
<button class="button button-primary" type="submit">Log In</button>
</form>
<p class="muted">Gameservers.World and the GSP Panel use the same account credentials, but they keep separate secure sessions. You may be asked to log in separately when opening the Panel.</p>
<p class="muted">Need an account? <a href="<?= website_escape(website_register_url($returnPath)) ?>">Create one through the GSP Panel registration page.</a></p>
</div>
</section>