Correct /register bug
This commit is contained in:
parent
360b68742d
commit
06d90f869b
@ -127,7 +127,7 @@ public class UserManagerAPIController {
|
||||
public ResponseEntity<UserConnectionData> oauthLogin(@RequestParam(value = "token") String discordToken){
|
||||
logger.debug(discordToken);
|
||||
UserEntity user = Oauth.getInstance().getUserEntity(discordToken, userRepository);
|
||||
logger.debug(user.getName());
|
||||
logger.info("OAuth login for " + user.getName());
|
||||
return new ResponseEntity<>(new UserConnectionData(true, user.getName(), user.getApiToken(), ""), HttpStatus.OK);
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
<body class="blue-grey lighten-5" >
|
||||
|
||||
<div th:replace="header :: header ('','')">...</div>
|
||||
<div th:replace="header :: header ('','','')">...</div>
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user