Re-enable google auth

This commit is contained in:
Deon George 2021-07-13 15:00:01 +10:00
parent 53fc25612b
commit 9515e67493
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254
2 changed files with 6 additions and 5 deletions

View File

@ -26,7 +26,7 @@ REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=MAIL
MAIL_HOST=smtp
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null

View File

@ -3,6 +3,7 @@
use Leenooks\Controllers\AdminController as LeenooksAdminController;
use App\Http\Controllers\{AdminController,
Auth\LoginController,
Auth\SocialLoginController,
CheckoutController,
HomeController,
MediaController,
@ -27,10 +28,10 @@ Auth::routes();
Route::get('/logout',[LoginController::class,'logout']);
Route::group(['middleware'=>['theme:adminlte-be']],function() {
// Route::get('auth/{socialProvider}','Auth\SocialLoginController@redirectToProvider');
// Route::get('auth/{socialProvider}/callback','Auth\SocialLoginController@handleProviderCallback');
// Route::get('auth/{socialProvider}/link','Auth\SocialLoginController@link');
// Route::post('auth/{socialProvider}/linkcomplete','Auth\SocialLoginController@linkcomplete');
Route::get('auth/{socialProvider}',[SocialLoginController::class,'redirectToProvider']);
Route::get('auth/{socialProvider}/callback',[SocialLoginController::class,'handleProviderCallback']);
Route::get('auth/{socialProvider}/link',[SocialLoginController::class,'link']);
Route::post('auth/{socialProvider}/linkcomplete',[SocialLoginController::class,'linkcomplete']);
});
// Generic Image Renderer - Render images that we dont have with a generic image