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:
@@ -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')
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user