Einladungen-Kontoerstellungsbildschirm zeigt Passwort als "optional"

Installiert
2.8.0.beta7
( cbd7898d1d )

Priority/Severity: 2

Platform:
desktop: latest versions of Firefox, Opera, Edge, Chrome
mobile: latest versions of Firefox, DuckDuckGo Browser, Chrome

Description:

Invites account creation screen shows password as “optional”

ACTUAL:
Passwort *
Mindestens 10 Zeichen (optional)

EXPECTED:
Passwort *
Mindestens 10 Zeichen

The bug is just cosmetic. It doesn’t change anything at the account creation process. Passwords are of course necessary for account creation, and account creation is possible. But it is confusing for users to see the password as “optional”.

The bug only accurs when creating an account over invitation links.

Reproducible steps:

  • create invitation
  • open invitation link
  • erroneous “password: optional” shows everytime on all platforms / browsers, with every invitation link

0

complete account creation screen via invitation link

complete standard account creation screen (without bug)

Thanks for your help!

2 „Gefällt mir“

The red star next to the word password shows that the field is required. It’s the hint text that says it’s optional.

Might need to check the translation string

I see its the same for the English language

image

and I found it on the locales

English:

German:

2 „Gefällt mir“

i dont think the code is 100% correct here.

1 „Gefällt mir“

Setting a password when initially accepting an invite is optional. If an invite is accepted without filling in the password field, the user will need to set a password after they log out and log back into the site.

I think that for almost all cases, setting a password when accepting an invite is more straightforward than setting the password at a later time. For that reason, I’m not sure that the password field should actually be optional. Possibly this is something that could be controlled by a site setting.

The current UI is confusing. The field is optional, but the star next to the password field name is used to mark required fields. If the field is to remain optional, the star should probably be removed from the password field on the accept-invite page.

4 „Gefällt mir“

I see, thanks for the clarification!

1 „Gefällt mir“

Dieses genaue Problem ist kürzlich wieder aufgetreten. Danke an @philipp2 für die Meldung!

Wenn Sie per E-Mail zu einer Discourse-Site eingeladen werden, können Sie die Einladung annehmen, indem Sie auf den Einladungslink klicken. Sie können dann Ihr Konto einrichten, ohne ein Passwort angeben zu müssen. Da Ihre E-Mail-Adresse bereits bekannt ist, können Sie sich später immer mit einem an Ihre E-Mail gesendeten Link anmelden, ein Passwort hinzufügen oder die soziale Anmeldung verwenden, wenn diese auf der Website eingerichtet ist. In diesem Fall funktioniert alles perfekt, wie es immer war.

Mit den jüngsten Änderungen am Einladungssystem erlauben wir nun auch die Erstellung von Einladungslinks, die dann außerhalb von Discourse kopiert und geteilt werden können. Dies schafft die Notwendigkeit, E-Mail-Adressen zu bestätigen, bevor eingeladene Benutzer sich anmelden und Zugang zu Diskussionen erhalten. Ich bin mir nicht sicher warum, aber in diesem Fall erhalten Sie, wenn Sie das Formular ausfüllen, ohne ein Passwort festzulegen, eine andere Bestätigungs-E-Mail, die Sie zu einem Link führt, der Sie auffordert, Ihr Passwort festzulegen, bevor Sie sich anmelden.

Die Lösung hier ist meiner Meinung nach, dass das Formular zur Annahme von Einladungen immer genau wie das reguläre Anmeldeformular funktioniert, das, wie der OP in Screenshots zeigt, Passwörter erfordert. Wir könnten dann die Funktionalität entfernen, die eine alternative Willkommens-E-Mail mit Anweisungen und einem Link zum Zurücksetzen des Passworts sendet.

Das weißt du. Das weiß ich. Aber ohne tiefere Kenntnisse von Discourse weiß ein eingeladener Benutzer das nicht. Nur und ausschließlich, weil die Verwendung von E-Mail als SSO eine eher seltene Lösung ist. Dies ist also kein Fehler, sondern ein UI/UX-Problem und gehört in die richtige Kategorie :wink:

Ein Passwort wird beim Einlösen einer Einladung benötigt gemäß:

Es war kein wirkliches Problem, da der Benutzer vor der Anmeldung aufgefordert wurde, ein Passwort festzulegen.

3 „Gefällt mir“

Dieses Thema wurde nach 14 Stunden automatisch geschlossen. Neue Antworten sind nicht mehr möglich.