2016-04-22, 04:00 AM
2016-04-22, 05:15 AM
2016-04-22, 06:04 AM
(2016-04-22, 05:15 AM).m. Wrote: [ -> ]if I am not mistaken
~/member.php#1746
~/inc/languages/english/messages.lang.php#L11
I've tried it but nothing happens. it just loads the index page.
2016-04-22, 09:19 AM
(2016-04-22, 06:04 AM)xkevin Wrote: [ -> ](2016-04-22, 05:15 AM).m. Wrote: [ -> ]if I am not mistaken
~/member.php#1746
~/inc/languages/english/messages.lang.php#L11
I've tried it but nothing happens. it just loads the index page.
Mind explaining what did you 'tried'? Change the code? Load the the page? If you changed the code, post it here, maybe someone might be able to help.
2016-04-23, 10:16 AM
or maybe you are looking for ACP >> Configuration >> General Configuration >> Friendly Redirection Pages
2016-04-28, 12:54 AM
---some validation made for user here ----
if($cookie_email == $user_email)
{
--force login code here--
redirect("index.php", $lang->redirect_loggedin);
}
else
{
//do nothing
}
On my sso.php file I have code which auto login the user.
Now, if the user email was existing in database, it will logged the user in (shows the welcome message first).
Note: I include the sso.php file on global.php