when I click the link it just redirects me to the login page
What link?
Hi, I created a login in portal so that the user is given the choice to login as admin (will probably hide this later) , student, etc. but when I click the link it just redirects me to the login page. But there is absolutely no reason for it to do so.
<?php
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
use Education\App\Models\School;
use Education\App\Models\Building;
use Education\App\Models\Classroom;
use Education\App\Models\Expense;
use Education\App\Models\Message;
use Education\App\Models\Fee;
use Education\App\Models\Teacher;
use Education\App\Models\Subject;
use Education\App\Models\Student;
use Education\App\Models\Form;
use Education\App\Models\Thread;
use Education\App\Models\SchoolFinance;
Route::get('/login', function () {
return Inertia::render('Auth/Login');
})->name('login');
Route::get('/education/portal', function () {
return Inertia::render('education/login-portal');
});
PS. I had a problem posting this as well, I selected Laravel and it said recapta failed - or something along them lines.
Please or to participate in this conversation.