thyseus / yii-user-management

a user management module collection for the yii framework
185 stars 122 forks source link

enable registration module, not specified by default #9

Closed christiansalazar closed 12 years ago

christiansalazar commented 12 years ago

this is not an issue at all, instead is a performance annotation:

in your main document, or by default in your installer, please incorporate the registration module in config, in order to allow it works:

// this will enable registration, not set by default in auto installer, so registration won't work until. 'registration' => array(),

christiansalazar commented 12 years ago

12 hours debugging and looking what's wrong with registration...at the end a simply adding in config main will resolve....

8-\

thyseus commented 12 years ago

sorry for your 12 hours debugging session, at least you learned about the system ;) There actually is a note at the end of the installer. Maybe we can add a info or exception with an concrete error message ("please check your config/main.php") somewhere?

christiansalazar commented 12 years ago

:-) i saw a module load checking in some part, i dont remember where exactly right now, but in same way it could be resolved, via throwing a exception too, and using a note in installer too...and modifying autoinstaller to incorporate this setup.

thyseus commented 12 years ago

i think this commit should solve this issue: https://github.com/thyseus/yii-user-management/commit/ffc9c1ad286666ef9c80662364cf3986f127d9b8 thanks for reporting