Welcome Guest, Not a member yet? Register   Sign In
Call Ajax
#5

Also I think his routes are wrong he should be using post on the ones returning post data.

PHP Code:
$routes->get('app-admin''\Modules\admin\Controllers\Auth::login');

$routes->post('app-admin/auth/authenticate''\Modules\admin\Controllers\Auth::authenticate');
$routes->post('app-admin/auth/recovery''\Modules\admin\Controllers\Auth::recovery');
$routes->get('app-admin/auth/logout''\Modules\admin\Controllers\Auth::logout');
$routes->post('app-admin/auth/update_password''\Modules\admin\Controllers\Auth::update_password'); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Call Ajax - by guilhermepalange - 10-13-2020, 05:17 PM
RE: Call Ajax - by InsiteFX - 10-14-2020, 12:32 PM
RE: Call Ajax - by nc03061981 - 10-14-2020, 05:45 PM
RE: Call Ajax - by includebeer - 10-17-2020, 07:43 AM
RE: Call Ajax - by InsiteFX - 10-17-2020, 11:04 AM
RE: Call Ajax - by includebeer - 10-18-2020, 07:36 AM
RE: Call Ajax - by InsiteFX - 10-18-2020, 11:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB