65 lines
1.5 KiB
PHP
65 lines
1.5 KiB
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Artesaos\SEOTools\Facades\SEOTools;
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Laravel\Fortify\Fortify;
|
|
|
|
class FortifyBootstrapServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
Fortify::loginView(function () {
|
|
SEOTools::setTitle('Connexion');
|
|
return view('auth.login');
|
|
});
|
|
|
|
/*
|
|
|
|
Fortify::registerView(function () {
|
|
SEOTools::setTitle('Inscription');
|
|
return view('auth.register');
|
|
});
|
|
|
|
Fortify::requestPasswordResetLinkView(function () {
|
|
SEOTools::setTitle('Mot de passe perdu');
|
|
return view('auth.forgot-password');
|
|
});
|
|
|
|
Fortify::resetPasswordView(function ($request) {
|
|
SEOTools::setTitle('Changer mot de passe');
|
|
return view('auth.reset-password', ['request' => $request]);
|
|
});
|
|
|
|
// Fortify::verifyEmailView(function () {
|
|
// return view('auth.verify-email');
|
|
// });
|
|
|
|
Fortify::confirmPasswordView(function () {
|
|
return view('auth.confirm-password');
|
|
});
|
|
|
|
Fortify::twoFactorChallengeView(function () {
|
|
return view('auth.two-factor-challenge');
|
|
});
|
|
|
|
*/
|
|
}
|
|
}
|