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

activation links broken #29

Closed schmunk42 closed 10 years ago

schmunk42 commented 10 years ago

When I take a look at the activation emails I see the following string: index.php?r=3Ddefault/verify&=activationKey=XXXXXX&username=3Dtest7

According to the workaround in Module.php::createController the route should be ?r=/usr/verify. btw: I'd drop that until it's implemented in Yii2, and just use /usr/default/verify, I think this could cause a lot of trouble while developing. Also after verify, there's &=activationKey, should read &activationKey.

nineinchnick commented 10 years ago

I can't verify this, I got a link like: http://demo2.niix.pl/usr/default/verify?activationKey=xxx&username=jwas I have enablePrettyUrl enabled in config.

nineinchnick commented 10 years ago

After setting enablePrettyUrl to false I got: http://demo2.niix.pl/index.php?r=usr/default/recovery&activationKey=f_hibjo-RYfM1IhwP151dkLKQiEZXSFF&username=jwas

schmunk42 commented 10 years ago

Will double check.