You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
834 B

<?php
use App\Http\Controllers\Administracion\GruposTrabajoController;
use Doctrine\DBAL\Schema\Index;
// use Symfony\Component\Routing\Route;
// Route::group(['namespace' => 'Administracion', 'middleware' => 'auth'], function () {
Auth::routes();
Route::get('/inicio', 'InicioController@index' )->name('inicio');
Route::get('/', function () {
return view('auth/login');
});
// Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
Route::get('logout', function (){
auth()->logout();
Session()->flush();
return Redirect::to('/');
})->name('logout');
Route::get('/contrasena_expirada','Auth\ExpirarContrasenaController@showPasswordExpirationForm');
Route::post('/contrasena_expirada','Auth\ExpirarContrasenaController@postPasswordExpiration')->name('contrasena_expirada');