I’m not trying to get the server IP, but specifically the client’s IP.
public function login(Request $request) { $clientsIpAddress = $request->ip(); // the rest of your code here }
Help @NicoCataldi spread the word by sharing this article on Twitter...