# Passwort Zurücksetzten, schlägt fehl

**URL:** https://forum.shopware.com/t/passwort-zurucksetzten-schlagt-fehl/67852
**Category:** Programmierung
**Created:** [22. Juni 2020 um 13:03 UTC](https://forum.shopware.com/t/passwort-zurucksetzten-schlagt-fehl/67852 "2020-06-22T13:03:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gezeichnet](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@gezeichnet](https://forum.shopware.com/u/gezeichnet)
#### Post date: [22. Juni 2020 um 13:03 UTC](https://forum.shopware.com/t/passwort-zurucksetzten-schlagt-fehl/67852/1 "2020-06-22T13:03:50Z")

</div>

Hallo,  
ich habe ein&nbsp;Multistorefront-Setup, dabei gibt es Probleme mit der Validierung beim „Passwort zurücksetzten“ Formular.

Aufbau:  
Storefront1: [domain.de](http://domain.de)  
Storefront2: [domain.de/substore2](http://domain.de/substore2)  
Storefront3: [domain.de/substore3](http://domain.de/substore3)

Wenn ich mich in Storefront2 oder 3 befinde und den Passwort-Zurücksetzen Button drücke, bekomme ich einen Fehler „etwas ist schief gelaufen“.&nbsp;

In „SendPasswordRecoveryMailRoute.php:151“ wird eine „Choice()“-Validation eingebunden, diese versucht meine StorefrontUrl mit den verfügbaren&nbsp;Storefront-Domains abzugleichen, das schlägt fehlt, weil die $data[‚storefrontUrl‘], die dort übertragen wird die `domain.de` ist und nicht die `domain.de/substoreX`.&nbsp;

Ist das ein gewolltest verhalten oder ein Bug?

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [23. Juni 2020 um 04:43 UTC](https://forum.shopware.com/t/passwort-zurucksetzten-schlagt-fehl/67852/2 "2020-06-23T04:43:28Z")

</div>

Welche Version hat du im Einsatz?

Glaube da gab es kürzlich einen Pull-Request zu:&nbsp;[https://github.com/shopware/platform/pull/1044](https://github.com/shopware/platform/pull/1044)
