Files
Malek TellissiandClaude Sonnet 4.6 fc5d1a65ae
Deploy / deploy (push) Successful in 16s
Revert login auto-redirect, keep button-based login page
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 02:33:49 +02:00

14 lines
434 B
PHP

<?php
use App\Http\Controllers\OAuthController;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return redirect('/dashboard', 301);
});
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');