feat(xo-server-auth-saml): use registerUser2 (#5781)
This commit is contained in:
parent
dadb16bb04
commit
a126b5b61b
@ -8,6 +8,7 @@
|
||||
> Users must be able to say: “Nice enhancement, I'm eager to test it”
|
||||
|
||||
- [Metadata Backup] Add a warning on restoring a metadata backup (PR [#5769](https://github.com/vatesfr/xen-orchestra/pull/5769))
|
||||
- [SAML] Compatible with users created with other authentication providers (PR [#5781](https://github.com/vatesfr/xen-orchestra/pull/5781))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
@ -33,6 +34,7 @@
|
||||
> In case of conflict, the highest (lowest in previous list) `$version` wins.
|
||||
|
||||
- xen-api minor
|
||||
- xo-server-auth-saml minor
|
||||
- xo-server-backup-reports patch
|
||||
- xo-web minor
|
||||
- xo-server patch
|
||||
|
@ -85,7 +85,7 @@ class AuthSamlXoPlugin {
|
||||
}
|
||||
|
||||
try {
|
||||
done(null, await xo.registerUser('saml', name))
|
||||
done(null, await xo.registerUser2('saml', { user: { id: name, name } }))
|
||||
} catch (error) {
|
||||
done(error.message)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user