StruckCroissant / Game-DB

Game-DB is a game database search engine deployed on Docker and powered by Java Spring Boot and AngularJS
GNU General Public License v3.0
2 stars 0 forks source link

split user functions into access & registration #26

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

https://github.com/StruckCroissant/Game-DB/blob/ea534febc7dc7b7df03b89e2768044d061ecd26c/api/main/java/com/StruckCroissant/GameDB/api/user/UserController.java#L40


        return response;
    }

    // TODO split user functions into access & registration
    @PostMapping("/register")
    public String registerUser(@RequestBody UserRegistrationRequest request){
        return userService.registerUser(request);
StruckCroissant commented 2 years ago

commit cddca91 developed split further - needs to be finalized & tested

StruckCroissant commented 2 years ago

Split not needed. Spring Security handles user login & the registration controller handles the user signup process. Removed previous login functionalities left in User Controller/Service 256abf0