PHP code example of zoutapps / laravel-backpack-multiauth
1. Go to this page and download the library: Download zoutapps/laravel-backpack-multiauth library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zoutapps / laravel-backpack-multiauth example snippets
public function register()
{
if ($this->app->environment() == 'local') {
$this->app->register(ZoutApps\LaravelBackpackAuth\AuthServiceProvider::class);
}
}
/**
* Get the path that we should redirect once logged out.
* Adaptable to user needs.
*
* @return string
*/
public function logoutToPath() {
return '/';
}