Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Request not providing complete URL #60

Open
Maxximou5 opened this issue Sep 2, 2014 · 0 comments
Open

Password Request not providing complete URL #60

Maxximou5 opened this issue Sep 2, 2014 · 0 comments

Comments

@Maxximou5
Copy link

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())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant