yii2-usuario
yii2-usuario copied to clipboard
Highly customizable and extensible user management, authentication, and authorization Yii2 extension
i have this in my `actionRegister()` which i extended the `Da\User\Controller\RegistrationController` ``` $this->on(FormEvent::EVENT_AFTER_REGISTER, function ($event) { $form = $event->getForm(); $user = User::find()->where(['email' => $form->email])->one(); $profile = $user->profile; $profile->firstname = $form->firstname;...
I'm using this Yii2 plugin for my user model https://yii2-usuario.readthedocs.io/en/latest/ In my `main.php` i have this. ``` 'user' => [ 'class' => Da\User\Module::class, 'enableEmailConfirmation' => true, 'classMap' => [ 'User'...
After a user registers with their social account. they are redirected to `user/registration/connect` i've removed username from the form and added firstname lastname. when i click "continue" the user is...
https://github.com/2amigos/yii2-usuario/blob/8adbffeb3f2da4e2bd77be8d7e06a1629904734f/src/User/Controller/RegistrationController.php#L158 Pls, help me. The problem with authorization through social network new user. Return 404 /user/registration/connect?code=FMwHPLCI*****************DJC ```php // Da\User\Controller\RegistrationController public function actionConnect($code) { /** @var SocialNetworkAccount $account */ $account =...
I'm using Yii2 and using these addons. "yiisoft/yii2-authclient": "^2.2 "2amigos/yii2-usuario": "~1.0", When I try to login using the social logins, it redirects to the main page. Doesn't show any error...
The fix for #309 removed the feature that creates a New User from Social Network Logon if the user does not already exist. Following Code was changed https://github.com/2amigos/yii2-usuario/commit/dd407f50b482b472f290fdff741b85e8b52bacce#diff-527c5ba7064e8097f56bd9de2dac5f59 Social Network...
Just a suggestion to see if we can enhance the module for usage with RESTFul API architecture. The authentication needs to follow [these Yii2 RESTFul best practices](https://www.yiiframework.com/doc/guide/2.0/en/rest-authentication) Some views: -...
When I use for FIRST time it works perfectly, and save record in the database. But when I try to use it as second time (with an already registered user),...
### What steps will reproduce the problem? I followed the official [guide](https://yii2-usuario.readthedocs.io/en/latest/helpful-guides/how-to-use-recaptcha-widget): 1. I signed up for the reCaptcha and configured it frontend/config/main.php under components: ```php 'recaptcha' => [ 'class'...
Maybe optional as parameter ?