mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
CST-6153 changes for challange sign update
This commit is contained in:
@@ -147,8 +147,7 @@ export class ProfilePageComponent implements OnInit {
|
||||
}
|
||||
if (!this.invalidSecurity && passEntered) {
|
||||
const operations = [
|
||||
{ op: 'add', path: '/password', value: this.password },
|
||||
{ op: 'add', path: '/challenge', value: this.currentPassword }
|
||||
{ "op": "add", "path": "/password", "value": { "password": this.password, "challenge": this.currentPassword } }
|
||||
] as Operation[];
|
||||
this.epersonService.patch(this.currentUser, operations).pipe(getFirstCompletedRemoteData()).subscribe((response: RemoteData<EPerson>) => {
|
||||
if (response.hasSucceeded) {
|
||||
|
Reference in New Issue
Block a user