Closed daebak74 closed 4 years ago
Please forgot I truncate the table users_resets and not seems work.
I don't know if is right. I mean if an user make a reset request and for any reason failed and make again a reset request will be generated this exception or I am in wrong ?
If yes please close it.
Thanks
Sorry, we can’t support any non-standard (custom) database configurations.
If the same problem occurs with the default database schema, let’s discuss this.
Anyway, from here, which might help you:
During development, you may want to disable the request limiting or throttling performed by this library. To do so, pass
false
to the constructor as the fourth argument, which is named$throttling
. The feature is enabled by default.
Apart from that, you may have to clear the users_throttling
table as well. That rarely makes sense in production, though, and thus only during development. But during development, the option above may be the better solution.
Thanks fixed the problem!
I posted because in different post I read that your coding for this library is with mind to support InnoDB and that maybe in future to migrate to it.
By the way now I know so I will avoid posting issues that can be caused by the type of database.
The library tries to support multiple database systems, i.e. MySQL/MariaDB, PostgreSQL and SQLite. And in the future, the MySQL engine might be changed from MyISAM to InnoDB. But not yet. Until then, no support is possible.
I don't understand why in reset password always receive this error, so after so many test I tried a simple test.
route:
$app->get('/'. EZ_ADMIN_URL .'/password', ['\App\Controllers\Backend\Core\Account', 'getPassword']);
controller:
result:
The only change that I make is to convert MyISAM in InnoDB for use the Foreign Key with the extra users field table.
Thanks.