cameronasmith's avatar

Auth::attempt works only on localhost

Auth::attempt works only on localhost.

When I do:

php -S localhost:8888 -t public the login method works, but when i do:

php -S 192.168.0.1:8888 -t public

The page loads but when I try to authenticate it just fails. I can read from the database but it just doesn't seem to work.

I am using sqlite on my local machine.

Any ideas?

0 likes
0 replies

Please or to participate in this conversation.