Laravel Sanctum is successfully installed and setup too.
Web.php
Route::middleware(\'auth:sanctum\')->post(\'/login\', \'Teacher\\RegisterController@lo