Support the ongoing development of Laravel.io →
posted 6 years ago
Last updated 2 years ago.
0

I think , this error is because your are returning a string and the class is expecting an instance of Authenticatable.

Create a middleware that checks if the username is a 'Slug' Create () method when validation passes
clean up the AuthController by removing the slugCheck method

I suggest you , to follow this article for more information let me know if you face any problem again

https://www.cloudways.com/blog/laravel-paypal-payment-gateway/
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.