![]() |
Hello Community.
I am using shield and I have a little problem. I use modals for registration, login and magic-login. If the credentials are okay (all forms passes validation without errors), there are no problems. But if wrong credentials or invalid data submitted shield redirect to the default views and show errors there. My question: how to modify sourcecode that the errors are shown in my modals. Best regards, Kighlander...
Shield Customize - Customize Login Redirect
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(03-05-2023, 12:03 AM)InsiteFX Wrote: Shield Customize - Customize Login Redirect Hi InsiteFX. I think you did not understand my problem. The login-, register- and magicLogin-Forms are well done with modals. And if in this Modals the correct informations are entered all works fine. BUT if wrong data entered shield redirect to the regular login-page (register-page or magicLogin-page) instead of a regular redirect. The link you posted here is where to redirect after a CORRECT login. This works also fine here...
(03-05-2023, 04:59 PM)kenjis Wrote: See https://github.com/codeigniter4/shield/b...hp#L63-L65 Hello kenjis, yes, THAT is what I am looking for. Thanks ! |
Welcome Guest, Not a member yet? Register Sign In |