Comments (3)
You can already change a user's status in the admin crud, if that's what you mean. You'll also need to change the DefaultController::register()
and DefaultController::afterRegister()
functions to not send the automatic email.
from yii2-user.
Thanks for the swift reply, couldn't answer at the moment.
Your answer proved correct, but I was wonder if something like this will end up by default on the module? Maybe with another Module parameter, like $manualActivation
, which, by default, registers every user as User::STATUS_INACTIVE
and skips email activation (with an prioritary if
).
Anyways, fantastic module, @amnah. I suppose everyone could make-do with Yii2's AuthManagers, but your module removes a lot of boilerplate (user management and administration). 👍
As I posted on another thread, if you need Spanish i18n help, I'd be willing to help .
from yii2-user.
I suppose I could. I hesitate initially because it's such a minor use case, but it's not like it would be a big change. I'll see what I can do.
Thanks for the offer with the translations! Will be getting to that very soon.
from yii2-user.
Related Issues (20)
- Prevent admin delete other admin HOT 1
- sendRecoverypassword gets exception 'yii\web\NotAcceptableHttpException' HOT 1
- I would like to extend a BaseController but the \amnah\yii2\user\controllers\* extend Controller HOT 2
- How to get Full Name? HOT 2
- $this->module does not return module, breaks code HOT 1
- Getting unknown property: amnah\yii2\user\models\Role::can_? HOT 3
- Keep Social Login but disable Social Registration HOT 4
- Change auth_key when have a new password HOT 2
- redirect homeUrl if user is loginned,access user/login HOT 2
- Display the authorization module on the main page? HOT 3
- one social account can bind more users? HOT 1
- exception 'yii\base\UnknownPropertyException' with message 'Getting unknown property: app\models\Profile::email
- View file not found HOT 5
- Compatibility with HttpBasicAuth? HOT 2
- Login screen management HOT 1
- How to Authenticate Through Rest API with YII2User? HOT 3
- [ask] support PHP 8.1? HOT 1
- Unable to store the data back into the database HOT 1
- How to get in touch regarding a security concern
- Getting unknown property: amnah\yii2\user\models\forms\LoginForm::username HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-user.