asdasd
This commit is contained in:
@@ -1705,7 +1705,7 @@
|
|||||||
|
|
||||||
async function loadModuleAuth() {
|
async function loadModuleAuth() {
|
||||||
try {
|
try {
|
||||||
const auth = await request('/api/module-auth/mining-checker', { timeoutMs: 5000 });
|
const auth = await request('/api/module-auth/mining-checker/index.php', { timeoutMs: 5000 });
|
||||||
setModuleAuthForm({
|
setModuleAuthForm({
|
||||||
required: !!auth.required,
|
required: !!auth.required,
|
||||||
users: Array.isArray(auth.users) ? auth.users.join(', ') : '',
|
users: Array.isArray(auth.users) ? auth.users.join(', ') : '',
|
||||||
@@ -1721,7 +1721,7 @@
|
|||||||
setSaving(true);
|
setSaving(true);
|
||||||
setError('');
|
setError('');
|
||||||
try {
|
try {
|
||||||
await request('/api/module-auth/mining-checker', {
|
await request('/api/module-auth/mining-checker/index.php', {
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
|
|||||||
Reference in New Issue
Block a user