diff --git a/routes/web.php b/routes/web.php index 5566445..26fc28a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -8,6 +8,7 @@ Route::get('/', function () { }); Route::get('/dashboard/login', fn () => redirect()->route('auth.nextcloud')); +Route::get('/dashboard/logout', fn () => redirect('/dashboard')); Route::get('/oauth/redirect', [OAuthController::class, 'redirect'])->name('auth.nextcloud'); Route::get('/auth/nextcloud/callback', [OAuthController::class, 'callback'])->name('auth.nextcloud.callback');