2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-28 16:20:54 +00:00

Fix webauthid keyname in user

This commit is contained in:
Jarrod Johnson
2026-09-25 16:18:39 -04:00
parent 2759404f4c
commit 03a3786f93
@@ -2814,7 +2814,7 @@ class ConfigManager(object):
displayname = ucfg.get('displayname', None)
role = ucfg.get('role', None)
await self.create_user(user, uid=uid, displayname=displayname, role=role)
for attrname in ('authid', 'authenticators', 'cryptpass'):
for attrname in ('webauthid', 'authenticators', 'cryptpass'):
if attrname in tmpconfig[confarea][user]:
self._cfgstore['users'][user][attrname] = tmpconfig[confarea][user][attrname]
_mark_dirtykey('users', user, self.tenant)