perubaham
This commit is contained in:
parent
36b6143d0f
commit
351177eb8b
@ -27,7 +27,7 @@ class LoginController extends Controller
|
||||
if ($user->status === 'super-admin') {
|
||||
return redirect()->intended('/admin');
|
||||
} elseif ($user->status === 'admin') {
|
||||
return redirect()->intended('/');
|
||||
return redirect()->intended('/home');
|
||||
}
|
||||
} return back()->with('errorLogin', 'Email or Password is invalid');
|
||||
|
||||
|
4
public/assets/css/app-dark.min.css
vendored
4
public/assets/css/app-dark.min.css
vendored
File diff suppressed because one or more lines are too long
@ -3,12 +3,12 @@
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Pelayanan</title>
|
||||
<title>KEMENDESA | PELAYANAN PELATIHAN</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="description">
|
||||
<meta content="Coderthemes" name="author">
|
||||
<!-- App favicon -->
|
||||
<link rel="shortcut icon" href="/assets/images/favicon.ico">
|
||||
<link href="/assets-login-landing/img/Kemendes_Logo.png" rel="icon">
|
||||
|
||||
<!-- App css -->
|
||||
<link href="/assets-login-landing/vendor/aos/aos.css" rel="stylesheet">
|
||||
|
@ -33,7 +33,8 @@ use Illuminate\Support\Facades\Route;
|
||||
// Route::get('/login', function () {
|
||||
// return view('login.index');
|
||||
// });
|
||||
Route::get('/', function () {
|
||||
Route::get('/', [LoginController::class, 'login'])->name('login')->middleware('guest');
|
||||
Route::get('/home', function () {
|
||||
return view('layout.index');
|
||||
})->middleware('auth');
|
||||
Route::get('/data-pribadi-kmpd', function () {
|
||||
|
Loading…
Reference in New Issue
Block a user