mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-02 01:04:51 +02:00
remove leading and trailing white space from settings
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
bf4de7be29
commit
bca6a01229
|
@ -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