Closed davideastmond closed 1 year ago
Create a special endpoint to initiate the admin account. User will use postman to create it in the db POST /auth/create-admin in req.body email: string password: string
Check for a security token in the header
Create a special endpoint to initiate the admin account. User will use postman to create it in the db POST /auth/create-admin in req.body email: string password: string
Check for a security token in the header