Sync User Record with Username Case Changes

Hello,

I’m having trouble getting SSO records to sync properly when the user changes only the case of their username. If the target user is named Sam, and a sync record comes in changing the username to SaM (using Sam’s external ID and email), Discourse seems to be renaming the account to SaM1. Any ideas?

Also, in the SSO section of the user in the admin panel, it shows the correct, new username.

Thanks guys

1 个赞

Bumping this because it’s still an issue.

1 个赞

@sam @eviltrout @codinghorror Any ideas?

1 个赞

我即将关闭此问题,该问题已在几年前修复:

以下是针对此问题的测试用例:

2 个赞