feat: add settings seed action and remove login credentials

SuperAdmins can seed once from Settings, and the login page no longer exposes default credentials.
This commit is contained in:
2026-08-14 23:23:06 +03:30
parent 35dfd4a603
commit 833584b1b4
7 changed files with 160 additions and 24 deletions
+7
View File
@@ -0,0 +1,7 @@
// /src/api/seedApi.js
import axiosInstance from './axiosInstance';
export const seedApi = {
getStatus: () => axiosInstance.get('/seed/status'),
runSeed: () => axiosInstance.post('/seed', {}, { timeout: 60000 })
};