benedmunds / CodeIgniter-Ion-Auth

Simple and Lightweight Auth System for CodeIgniter
http://benedmunds.com/ion_auth/
MIT License
2.35k stars 1.14k forks source link

Problems with autentification #1559

Open teoj opened 2 years ago

teoj commented 2 years ago

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:

teoj commented 2 years ago

Ok i find the solution. The problem was the filter.