Move SSO & Registration settings to the new admin panel's Auth page

This commit is contained in:
Bubka
2024-09-20 09:58:53 +02:00
parent 012af3177b
commit d629ed83c5
8 changed files with 168 additions and 100 deletions

View File

@ -7,7 +7,7 @@ export default {
*
* @returns
*/
get(config = {}) {
getAll(config = {}) {
return apiClient.get('/settings', { ...config })
},
@ -15,8 +15,8 @@ export default {
*
* @returns
*/
update(name, value) {
return apiClient.put('/settings/' + name, { value: value })
update(name, value, config = {}) {
return apiClient.put('/settings/' + name, { value: value }, { ...config })
},
/**