mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-08 21:44:32 +02:00
Move SSO & Registration settings to the new admin panel's Auth page
This commit is contained in:
6
resources/js/services/appSettingService.js
vendored
6
resources/js/services/appSettingService.js
vendored
@ -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 })
|
||||
},
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user