feat: add profile, class unenroll, notify toggles, and keep sidebar width

Give admins a profile password page, class removal, and SMS/email/bot checkboxes, and stop the sidebar from shrinking on edit pages.
This commit is contained in:
2026-08-15 23:48:18 +03:30
parent 7b083d5dbc
commit 3f220dda52
13 changed files with 427 additions and 17 deletions
+1
View File
@@ -5,5 +5,6 @@ export const authApi = {
login: (data) => axiosInstance.post('/auth/login', data),
refresh: (refreshToken) => axiosInstance.post('/auth/refresh', { refreshToken }),
logout: (refreshToken) => axiosInstance.post('/auth/logout', { refreshToken }),
changePassword: (data) => axiosInstance.put('/auth/change-password', data),
getSelf: () => axiosInstance.get('/users/user/get-self')
};