nineinchnick / yii2-usr

Yii framework module for user authentication, password reset, registration and profile updating. A port of yii-usr to Yii Framework 2.0.
http://demo2.niix.pl
MIT License
39 stars 8 forks source link

Allow sending emails to be optional. #17

Closed nineinchnick closed 10 years ago

nineinchnick commented 10 years ago

There is only requireVerifiedEmail property in the Module.

schmunk42 commented 10 years ago

Even this part can become pretty complex.

As an example, we sometimes had the use-case, that the admin should be notified when a user has approved his email, because the admin would now give him the needed permissions. But depending on your application the workflow may be totally different.

Closely related to https://github.com/nineinchnick/yii2-usr/issues/16

nineinchnick commented 10 years ago

You're quite right, but this is a basic function and the example about noficiations fits perfectly in the #16 issue, so let's leave this one as it is.

nineinchnick commented 10 years ago

Current options are sufficient, I'm closing this one without changes.