Skip to content

Commit

Permalink
ng update @angular/material
Browse files Browse the repository at this point in the history
  • Loading branch information
vnobo committed Apr 2, 2024
1 parent 92daa8b commit a824e20
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.security.oauth2.client.web.server.ServerOAuth2AuthorizedClientRepository;
import org.springframework.security.web.server.csrf.CsrfToken;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.server.WebSession;
import reactor.core.publisher.Mono;
Expand Down Expand Up @@ -91,6 +88,7 @@ public Mono<Object> bindOauth2(String clientRegistrationId, Authentication authe
* @throws RestServerException if the new password is the same as the current password.
* @throws RestServerException if the presented password does not match the current password.
*/
@PostMapping("/change/password")
public Mono<UserDetails> changePassword(@Valid @RequestBody ChangePasswordRequest request,
Authentication authentication) {
// Check if the new password is the same as the current password.
Expand Down
18 changes: 9 additions & 9 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"private": true,
"dependencies": {
"@angular/animations": "^17.3.2",
"@angular/cdk": "^17.3.1",
"@angular/cdk": "^17.3.2",
"@angular/common": "^17.3.2",
"@angular/compiler": "^17.3.2",
"@angular/core": "^17.3.2",
"@angular/forms": "^17.3.2",
"@angular/material": "^17.3.1",
"@angular/material": "^17.3.2",
"@angular/platform-browser": "^17.3.2",
"@angular/platform-browser-dynamic": "^17.3.2",
"@angular/platform-server": "^17.3.2",
Expand Down

0 comments on commit a824e20

Please sign in to comment.