Welcome Guest, Not a member yet? Register   Sign In
FreakAuth Light auth/login redirect to my site
#1

[eluser]czn[/eluser]
Hello,

So, at first, thanks a lot for FreakAuth light is great and simple.
I have just a stupid pb and I don't find the solution.
for exemple, my official url is : www.mysite.com
my login url is : www.mylogin.com/index.php/auth/login

If I'm login,the url www.mylogin.com/index.php/auth/login automatically redirect me to www.mysite.com.
I would like to stay on this page or redirect to my website administration : www.mylogin.com/index.php/admin

Any idea ?

Thanks
#2

[eluser]elvix[/eluser]
you can easily redirect users based on several actions, check the bottom of the freakauth config file.
#3

[eluser]czn[/eluser]
Thank you.
I try, but the result it the same.


My config files is :

Code:
/*-------------------+
|  ACTIONS SETTINGS  |
+-------------------*/

// The action to execute after successful login
$config['FAL_login_success_action'] = 'admin';

// The action to execute after successful logout
$config['FAL_logout_success_action'] = 'auth/login';

// The action to execute after REGISTRATION ('continue' link)
$config['FAL_register_continue_action'] = 'admin';

// The action to execute after ACTIVATION, ('continue' link)
  // wether it failed or it was successful
$config['FAL_activation_continue_action'] = 'auth';

// The action to execute after requesting FORGOTTEN PASSWORD
$config['FAL_forgotten_password_continue_action'] = '';

/*-----------------+
|  ADMIN SETTINGS  |
+-----------------*/

// The action to execute after successful ADMIN login
$config['FAL_admin_login_success_action'] = 'auth/login';

// The action to execute after successful ADMIN logout
$config['FAL_admin_logout_success_action'] = 'auth/login';

// The number or recors per page for the admin user listing (pagination)
$config['FAL_admin_console_records_per_page'] = 10;

if you have an idea, because I have read many post and I don't find the answear.
#4

[eluser]WillKemp[/eluser]
This is a bit old and hopefully you've sorted it out now, but i'm replying because it hasn't been answered and it may help someone else in future.

Check you've got the auth level set correctly in the freakauth_light->check statement in the admin page. By default, it's "superadmin".




Theme © iAndrew 2016 - Forum software by © MyBB