cartalyst / sentinel

A framework agnostic authentication & authorization system.
BSD 3-Clause "New" or "Revised" License
1.51k stars 238 forks source link

Able to return specific message after a custom checkpoint has failed? #544

Open m33ts4k0z opened 3 years ago

m33ts4k0z commented 3 years ago

Hello,

I looked a lot online but I Wasn't able to find any info about it. I use a custom checkpoint in order to check an additional field in the DB before authenticating the user and its working fine. However I wonder how am I able to show a specific message when just this checkpoint fails the process.

Thanks in advance