When updating, the default system admin user's username is reverted to 'system' (if renamed)

This came up here:

Where the username of that account actually matters, as I changed it by hand to something custom. But updates to the forum revert it to the default, is this expected? Now I’ve settled by changing its display name only. But the username change broke the DiscourseConnect SSO publishing (and connection) because it’s a setting in WordPress that did not know that updates to Discourse revert this username.

Yes, this is expected. You can’t permanently change the username of the system user in Discourse (currently).

2 Likes