GameConnect / SourceBans

Advanced admin and ban management for the Source game engine
http://www.sourcebans.net
67 stars 30 forks source link

Password Request not providing complete URL #60

Open Maxximou5 opened 10 years ago

Maxximou5 commented 10 years ago

Example of password request message: Hello User, you have requested to have your password reset for your SourceBans account. To complete this process, please click the following link. /index.php/lostPassword?email=user%40example.com&key=5ac2b3d6443d65a32450f6fb3cb2cc3a NOTE: If you did not request this reset, then simply ignore this email.

After perusing, all I could find were these lines. I am unfamiliar with what is declared as default other than what is specified in Settings, which would be index.php (dashboard). Some help on this issue would be lovely, or perhaps this was fixed in future versions, which is incompatible atm with the plugin, so I dare not use.

web/application/models/LostPasswordForm.php: 55 Yii::app()->mailer->MsgHtml(Yii::t('sourcebans', 'models.LostPasswordForm.reset.body', array( 56 '{name}' => $admin->name, 57: '{link}' => Yii::app()->createUrl('default/lostPassword', array('email' => $admin->email, 'key' => $validationKey)), 58 ))); 59 if(!Yii::app()->mailer->Send())