added login security on nflow ui
This commit is contained in:
@@ -35,6 +35,11 @@ public class OnboardingController {
|
||||
private final WorkflowUtils workflowUtils;
|
||||
private final OtpService otpService;
|
||||
|
||||
@PostMapping("/system-user")
|
||||
public ResponseEntity sys(@RequestBody RegisterRequest request) {
|
||||
return ResponseEntity.ok(userService.register(request));
|
||||
}
|
||||
|
||||
@PostMapping("/check/{username}")
|
||||
public ResponseEntity check(@PathVariable String username) {
|
||||
QueryWorkflowInstances query = new QueryWorkflowInstances.Builder()
|
||||
|
||||
Reference in New Issue
Block a user