first commit
This commit is contained in:
commit
405df0a122
3083 changed files with 69203 additions and 0 deletions
41
routes/auth.php
Normal file
41
routes/auth.php
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Livewire\Volt\Volt;
|
||||
|
||||
// Fortify-Routen für Authentifizierung mit Livewire
|
||||
Route::group(['middleware' => config('fortify.middleware', ['web'])], function () {
|
||||
// Login mit Livewire
|
||||
Volt::route('/login', 'auth.login')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('login');
|
||||
|
||||
// Registrierung mit Livewire
|
||||
Volt::route('/register', 'auth.register')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('register');
|
||||
|
||||
// Passwort vergessen mit Livewire
|
||||
Volt::route('/forgot-password', 'auth.forgot-password')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('password.request');
|
||||
|
||||
// Passwort zurücksetzen mit Livewire
|
||||
Volt::route('/reset-password/{token}', 'auth.reset-password')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('password.reset');
|
||||
|
||||
// E-Mail-Verifizierung mit Livewire
|
||||
Volt::route('/verify-email', 'auth.verify-email')
|
||||
->middleware(['auth:'.config('fortify.guard')])
|
||||
->name('verification.notice');
|
||||
|
||||
// Passwort bestätigen mit Livewire
|
||||
Volt::route('/confirm-password', 'auth.confirm-password')
|
||||
->middleware(['auth:'.config('fortify.guard')])
|
||||
->name('password.confirm');
|
||||
|
||||
// Logout-Route
|
||||
Route::post('/logout', [Laravel\Fortify\Http\Controllers\AuthenticatedSessionController::class, 'destroy'])
|
||||
->name('logout');
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue