kordix
238
3
Laravel

auth middleware store problem no message

Posted 4 months ago by kordix

I want only store method to be guarded by auth middleware - I want the create and index method to be publicly accessible. It quite works - redirects to login when I try to store without logging in - but after it throws "no message" error. Can't it just make the proper store, or if it isn't possible to prevent storing and go back to previous page?

Please sign in or create an account to participate in this conversation.