You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i know that i must use querystring to encode the token... i have following view code:
@section('content')
<p class="title"> Sehr geehrte(r) {{ user.firstName }} {{ user.lastName }},</p>
<p>
Sie haben für <span class="app-title">{{ app.title }}</span> ein neues Passwort angefordert!<br>Um diese Aktion bearbeiten zu können, müssen Sie diese nochmals bestätigen.
</p>
Bitte bestätigen Sie diese Aktion!
<a href="{{ urlEncode(confirmURL) }}"><hier klicken></a>
@endsection
and the mails a send from the events like this:
Event.on('forgot::password', async ({ user, token }) => {
// collect the data for the template
let mailParams = {
app: appData,
user: user,
confirmURL: Env.get('PUBLIC_BASE_URL') + '/verifyToken/' + qs.escape(token)
};
try {
// send the mail
await Mail.send('emails.forgotpassword', mailParams, message => {
message.from(Env.get('MAIL_FROM'));
message.to(user.email, user.firstName + ' ' + user.lastName);
message.subject('Passwort vergessen');
But sometimes, not often, the token in the mail contains backslash, so the router stopped there and did not find the route.
What´s wrong, what did I forget?
The text was updated successfully, but these errors were encountered:
Hi,
i know that i must use querystring to encode the token... i have following view code:
and the mails a send from the events like this:
But sometimes, not often, the token in the mail contains backslash, so the router stopped there and did not find the route.
What´s wrong, what did I forget?
The text was updated successfully, but these errors were encountered: