Empty E-Mail-Adress-Field prevents users from login
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3552464. --> Reported by: [joachim namyslo](https://www.drupal.org/user/275771) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p><img src="https://www.drupal.org/files/issues/2025-10-15/15-10-2025_21-37-24.png" width="50%" height="50%" alt="login mpossible"><br> have noticed that when the module is activated, you can only log in if, in addition to the normal login details [...] </p> <p>Username<br> Password</p> <p>you also enter an email address in the form generated by the Magic Login link.</p> <p>However, this should not be the case. The UI also explicitly states &ldquo;or&rdquo; here.</p> <p>The problem is likely to be that the input field for the email address is always marked as &ldquo;required.&rdquo; </p> <p>To ensure that users can still log in when the module is activated without having to enter an email address, the form should either be moved to the &ldquo;Reset password&rdquo; page or the field for the email address should be marked as &ldquo;not required&rdquo; within the field group of the form.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Enable the moodule as usual<br> go to /user/login<br> enter regular credentials<br> try to login without entering any email adress in teh magic login link form </p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>mark the email adress input field as not requireed<br> or move the form to passwort reset page.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>create patch</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>tbd</p> <h3 id="summary-api-changes">API changes</h3> <p>tbd</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>tbd</p>
issue