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