Welcome Guest, Not a member yet? Register   Sign In
Check a second field on shield login from another table
#1

(This post was last modified: 01-04-2025, 05:01 AM by 4usol.)

Hi,

i need to add a new field into the login authentification of shield.

I edit the login page and setup the routes to the own file. It works.
Here we have a new field named "mynewfield"


Now i need to check on login, if this field is inside another table (not users) and do some check arround it.

What will be the best way to do it, maybe without changing the core files?


Play around with the Validation.php brings no goal.


1) How (in wich file) i can add a validation function for the newfield, to get and check the values from the second-table?
2) How (in wich file) i cann add data-to the session after successful log in?

Thanks a lot.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB