Users cannot edit their username


(Emma Furtado) #1

no option to edit username

Hi team,
My users have lost the ability to edit their usernames. Can you investigate?

Thanks,
Emma


(Jay Pfaffman) #2

What’s the value of username change period? (The number of days after registration that accounts can change their username (0 to disallow username change).

And you’re not using SSO, right?


(Emma Furtado) #3

not using SSO-correct… it’s currently set to 3 days


(Jay Pfaffman) #4

is the person trying to change their name been a member for more than 3 days?


(Emma Furtado) #5

yes, we have tested with 2 people who have both been members more than 3 days


(Jay Pfaffman) #6

If they have been members for more than 3 days and username change period is 3 days, the expected behavior is that they will not be able to change their username.

Perhaps you want to change that site setting to a bigger number.


(Emma Furtado) #7

a user who joined on Dec 4 is not able to. Could this be a bug?


(Joshua Rosenfeld) #8

If the username change period is set to 3, then no, this is not a bug. December 4 is more than 3 days ago, outside of the change period. As such, they should not be able to change their name.


(Joshua Rosenfeld) #12

We’ve adjusted the wording here as the description has tripped up people before.

The description for username_change_period is now “The maximum number of days after registration that accounts can change their username (0 to disallow username change).”


(Emma Furtado) #13

ok any recommendations on how we should adjust it then? I would like to allow my users to edit their usernames indefinitely.


(Joshua Rosenfeld) #14

Just set it to a high number, like 100000. That’s 273-ish years, far longer than you users will be using Discourse.


(Jay Pfaffman) #15

You understand that they’ll lose the connections to their existing posts?


(Emma Furtado) #16

Yeah they are ok with it.

Thanks,
Emma