From b183e53c4593c73139728dabd6ebac77fca0786f Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 May 2023 00:34:48 -0700 Subject: [PATCH] Added settings routes for google auth Signed-off-by: snipe --- routes/web.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routes/web.php b/routes/web.php index f809f5a3e3..49998f43fc 100644 --- a/routes/web.php +++ b/routes/web.php @@ -192,6 +192,9 @@ Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'authorize:superuser Route::get('oauth', [SettingsController::class, 'api'])->name('settings.oauth.index'); + Route::get('google', [SettingsController::class, 'getGoogleLoginSettings'])->name('settings.google.index'); + Route::post('google', [SettingsController::class, 'postGoogleLoginSettings'])->name('settings.google.save'); + Route::get('purge', [SettingsController::class, 'getPurge'])->name('settings.purge.index'); Route::post('purge', [SettingsController::class, 'postPurge'])->name('settings.purge.save');