mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-07 07:23:22 +00:00
Add signup API endpoint for user registration
This commit is contained in:
@@ -198,6 +198,7 @@ export const versionAPI = {
|
|||||||
export const authAPI = {
|
export const authAPI = {
|
||||||
login: (username, password) => api.post('/auth/login', { username, password }),
|
login: (username, password) => api.post('/auth/login', { username, password }),
|
||||||
verifyTfa: (username, token) => api.post('/auth/verify-tfa', { username, token }),
|
verifyTfa: (username, token) => api.post('/auth/verify-tfa', { username, token }),
|
||||||
|
signup: (username, email, password) => api.post('/auth/signup', { username, email, password }),
|
||||||
}
|
}
|
||||||
|
|
||||||
// TFA API
|
// TFA API
|
||||||
|
|||||||
Reference in New Issue
Block a user