Security Assist - custom redirect?
I have a database of five users.
i.e.
username: alpha
username: beta
username: gamma
they each have their own dedicated "dashboard: page within the same directory as the rest of the Secuirty Assist created PHP files
ie.
alpha.php
beta.php
gamma.php
I have also created a field within the database called "userpage" so each record has a corresponding value
i.e.e
record 1:
username: alpha
userpage: alpha.php
What I need is to customize the log in page so upon successful log in, the user gets redirected to their corresponding "dashboard" page.
the line I think I need to edit is within Log in page line 14 (Im guessing)
"successRedirect" => "users_Profile.php",
IDEALLY the value/url should be a result of something like: username+."php"
or
if that is not possible, it could be the corresponding value of the field "userpage"
i.e.
"successRedirect" => CALL_TO_THE_DATABASE_FOR_VALUE_OF_USERPAGE
Does this make sense? Is this possible?