When the password is wrong show the message Incorrect Login but when it is correct go to auth/login again without any messages. I have working on it 2 days.
I clone in ThirtParty/CodeIgniter-Ion-Auth with git like in the documentation INSTALL.MD.
In Config/Autoload.php i put :
public $psr4 = [
APP_NAMESPACE => APPPATH, // For custom app namespace
'Config' => APPPATH . 'Config',
'IonAuth' => APPPATH . 'ThirdParty/CodeIgniter-Ion-Auth'
];
In Config/IonAuth.php :
<?php namespace Config;
class IonAuth extends \IonAuth\Config\IonAuth
{
// set your specific config
// public $siteTitle = 'Example.com'; // Site Title, example.com
// public $adminEmail = 'admin@example.com'; // Admin Email, admin@example.com
// public $emailTemplates = 'App\Views\auth\email\';
// ...
}
I create a Controllers/Auth.php y my App/Controllers edit so:
<?php namespace App\Controllers;
class Auth extends \IonAuth\Controllers\Auth
{
/**
If you want to customize the views,
copy the ion-auth/Views/auth folder to your Views folder,
remove comment
*/
protected $viewsFolder = 'Views/auth';
}
and i copy the ThirdParty/CodeIgniter-Ion-Auth/Views to App/Views
When the password is wrong show the message Incorrect Login but when it is correct go to auth/login again without any messages. I have working on it 2 days. I clone in ThirtParty/CodeIgniter-Ion-Auth with git like in the documentation INSTALL.MD. In Config/Autoload.php i put : public $psr4 = [ APP_NAMESPACE => APPPATH, // For custom app namespace 'Config' => APPPATH . 'Config', 'IonAuth' => APPPATH . 'ThirdParty/CodeIgniter-Ion-Auth' ]; In Config/IonAuth.php : <?php namespace Config;
class IonAuth extends \IonAuth\Config\IonAuth { // set your specific config // public $siteTitle = 'Example.com'; // Site Title, example.com // public $adminEmail = 'admin@example.com'; // Admin Email, admin@example.com // public $emailTemplates = 'App\Views\auth\email\'; // ... }
I create a Controllers/Auth.php y my App/Controllers edit so: <?php namespace App\Controllers;
class Auth extends \IonAuth\Controllers\Auth { /**
I think the problem is the filter: