chore: encode email before passing it as a query param (#4468)
This commit is contained in:
parent
92c5ccef3d
commit
e044a8c2ac
5 changed files with 8 additions and 8 deletions
|
|
@ -76,7 +76,7 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {
|
|||
{isSMTPConfigured ? (
|
||||
<Link
|
||||
onClick={() => captureEvent(FORGOT_PASSWORD)}
|
||||
href={`/accounts/forgot-password?email=${email}`}
|
||||
href={`/accounts/forgot-password?email=${encodeURIComponent(email)}`}
|
||||
className="text-xs font-medium text-custom-primary-100"
|
||||
>
|
||||
Forgot your password?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue