yii2-usuario
yii2-usuario copied to clipboard
Highly customizable and extensible user management, authentication, and authorization Yii2 extension
Allow developers to customize the way login should work after x number of failed login attempts: - Display Yii2 Captcha - Display reCaptcha - Block User - Configure the amount...
In [yii2-usuario/docs/helpful-guides/first-steps.md](https://github.com/2amigos/yii2-usuario/blob/master/docs/helpful-guides/first-steps.md): In saveDown() it should be $user = \Da\User\Model\User::findOne(['username'=>"admin"]); // not 'name' as key
### What steps will reproduce the problem? 1. setup a custom controller as documented in overiding-controllers.md 2. Add the custom controller to the modules' controller map in main.config 3. Use...
### What steps will reproduce the problem? It isn't documented how we should add a field to the User model although dektrium guide will apply the same. ### What is...
Yii2 migration for Postgres uses bytea for field "data" (see: https://github.com/yiisoft/yii2/commit/23790272dc561aacf2070cbbda396f49e44cbb7d#diff-9dc218c5c0834622090067e24bb745073a454b843a5e150d1498af80ebdd73fa) and bytea is resource in php so unserialize will throw error. This code is taken from Yii2 DbManager: https://github.com/yiisoft/yii2/blob/master/framework/rbac/DbManager.php#L449
Hello greetings, I am trying to use the yii2-usuario extension following the steps indicated on the page: https://yii2-usuario.readthedocs.io/en/latest/installation/yii2-application-template/ Step 1 - Install the Application template I have installed "fxp /...
### What steps will reproduce the problem? Add an event handler (closure, static method, whatever...) that listens to event 'afterRegister' or 'beforeRegister' ### What is the expected result? The event...
RBAC can be a complex thing to administer, and having roles which include other roles/permissions and permissions in permissions can lead to complex things. Currently the only way we have...
### What steps will reproduce the problem? 1. Install yii2-usuario via `composer require 2amigos/yii2-usuario:~1.0`. Also tried `composer require 2amigos/yii2-usuario: 'dev-master'` to see if it would make a difference with dev-master;...