Welcome Guest, Not a member yet? Register   Sign In
Shield views with modals
#1
Question 

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...
Reply
#2

Shield Customize - Customize Login Redirect
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(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...
Reply
#4

See https://github.com/codeigniter4/shield/b...hp#L63-L65
Reply
#5

(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 !
Reply




Theme © iAndrew 2016 - Forum software by © MyBB