Anmeldung läuft

This commit is contained in:
Robert
2024-01-17 15:23:48 +01:00
parent aa936198c8
commit d47f00093a
125 changed files with 1459 additions and 4444 deletions

View File

@@ -1,9 +1,10 @@
@extends("m5_a1.layout_anmeldung")
<?php use Illuminate\Support\Facades\Session; ?>
@section("main")
<form action="/anmeldung_verifizieren" method="post">
@method("post")
@csrf <!-- {{ csrf_field() }} -->
<label for="email">E-Mail</label>
<input id="email" name="email" type="email" placeholder="email" required maxlength="100">
@@ -15,9 +16,8 @@
@if(!isset($anmeldung)) Bitte anmelden!
@elseif ($anmeldung == 1)
{{ session_start() }}
Anmeldung erlaubt!
@else Es ist ein Fehler aufgetretten!
@endif
@endsection
@endsection

View File

@@ -23,6 +23,8 @@
@else
<form method="post" id="auto_form" action="/anmeldung_fehler">
@method("post")
@csrf <!-- {{ csrf_field() }} -->
<input type="hidden" name="email" value={{ $email}}>
<input type="hidden" name="passwort" value={{$passwort}}>
<input type="hidden" name="anmeldung" value={{$anmeldung }}>
@@ -47,4 +49,4 @@
<br>
Bitte warten!
@endsection
@endsection