Lo schermo di creazione dell'account per gli inviti mostra la password come "opzionale"

Installed
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:

Invite account creation screen shows password as “optional”

ACTUAL:
Password *
Minimum 10 characters (optional)

EXPECTED:
Password *
Minimum 10 characters

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 occurs 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

complete account creation screen via invitation link

complete standard account creation screen (without bug)

Thanks for your help!

2 Mi Piace

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 Mi Piace

i dont think the code is 100% correct here.

1 Mi Piace

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 Mi Piace

I see, thanks for the clarification!

1 Mi Piace

Questo problema preciso si è ripresentato di recente. Grazie a @philipp2 per averlo segnalato!

Se sei invitato via email a un sito Discourse, puoi accettare l’invito cliccando sul link di invito. Ti è quindi consentito configurare il tuo account senza dover specificare una password. Poiché il tuo indirizzo email è già noto, puoi sempre accedere in seguito con un link inviato alla tua email, aggiungere una password o utilizzare il social login se è configurato sul sito. In questo caso tutto funziona perfettamente come sempre.

Con le recenti modifiche al sistema di invito, ora consentiamo anche la creazione di link di invito, che possono quindi essere copiati e condivisi al di fuori di Discourse. Ciò aggiunge la necessità di richiedere la conferma degli indirizzi email prima che gli invitati accedano e ottengano l’accesso alle discussioni. Non sono sicuro del perché, ma in questo caso se completi il modulo senza impostare una password, ricevi un’email di conferma diversa che ti invia a un link che richiede di impostare la password prima di accedere.

La soluzione qui, a mio parere, è far funzionare sempre il modulo di accettazione dell’invito proprio come il modulo di registrazione regolare, che come mostra l’OP negli screenshot richiede le password. Potremmo quindi rimuovere la funzionalità che invia un’email di benvenuto alternativa con istruzioni e link per il reset della password.

Tu lo sai. Io lo so. Ma senza una conoscenza più approfondita di Discourse, un utente invitato non lo sa. Solo e unicamente perché usare l’email come SSO è una soluzione piuttosto rara. Quindi, questo non è un bug, è un problema di UI/UX ed è nella categoria giusta :wink:

Sarà richiesta una password al momento del riscatto di un invito, come da:

Non è stato un vero problema perché all’utente è stato chiesto di impostare una password prima di accedere.

3 Mi Piace

Questo argomento è stato chiuso automaticamente dopo 14 ore. Non sono più permesse nuove risposte.