Initial implementation of API access to clrghouz with a whoami endpoint
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 58s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 2m51s
Create Docker Image / Final Docker Image Manifest (push) Successful in 8s

This commit is contained in:
2025-04-17 09:41:01 +10:00
parent 6284795e3b
commit 99dc13b297
3 changed files with 15 additions and 2 deletions

View File

@@ -72,4 +72,9 @@ class UserController extends Controller
return view('user.link');
}
public function whoami(): User
{
return Auth::user();
}
}