mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-06 11:03:40 +02:00
Merge pull request #264 from nextcloud/trim-whitespaces
remove leading and trailing white space from settings
This commit is contained in:
commit
ad4de12658
|
@ -111,7 +111,7 @@
|
|||
configIdentifier = '';
|
||||
}
|
||||
OC.msg.startSaving('#user-saml-save-indicator');
|
||||
OCP.AppConfig.setValue('user_saml', configIdentifier + category + '-' + setting, value);
|
||||
OCP.AppConfig.setValue('user_saml', configIdentifier + category + '-' + setting, value.trim());
|
||||
OC.msg.finishedSaving('#user-saml-save-indicator', {status: 'success', data: {message: t('user_saml', 'Saved')}});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue