Skip to content

Password Request not providing complete URL #60

@Maxximou5

Description

@Maxximou5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions