Trim name of client scope before saving (#1635)

This commit is contained in:
Jon Koops 2021-12-06 13:20:29 +01:00 committed by GitHub
parent 8cf59f4120
commit e53c7744a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,6 +106,7 @@ export default function ClientScopeForm() {
const save = async (clientScopes: ClientScopeDefaultOptionalType) => {
try {
clientScopes.name = clientScopes.name?.trim();
clientScopes.attributes = convertFormValuesToObject(
clientScopes.attributes!
);