Files
ESBSC-CONVOC/templates/login.php
T
2026-11-11 09:24:28 +01:00

2 lines
860 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php if(\App\Oidc::enabled()): ?><section class="card"><a class="button" href="/auth/oidc">Se connecter avec le compte du club</a></section><?php endif ?>
<section class="card login"><?php $loginBrand=\App\ClubSettings::get();if($loginBrand['logo']): ?><img class="club-logo-preview" src="<?=e($loginBrand['logo'])?>" alt="Logo du club"><?php endif ?><h2>Bienvenue au club</h2><p>Connectez-vous pour vérifier les disponibilités et préparer les feuilles de match.</p><?php if($error): ?><div class="notice danger"><?=e($error)?></div><?php endif ?><form method="post" action="/login"><?=csrf()?><?=field('email','Adresse e-mail','','email',true)?><?=field('password','Mot de passe','','password',true)?><button>Se connecter</button></form><p class="muted">Accès réservé aux responsables du club. Demandez votre compte à l’administrateur.</p></section>