Skip to content

Commit

Permalink
Make sure user is up-to-date after updating it
Browse files Browse the repository at this point in the history
  • Loading branch information
oscgonfer committed Mar 12, 2024
1 parent dcb8e54 commit edbb23e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/myProfile/myProfile.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
.then(function(data) {
var user = new AuthUser(data);
_.extend(vm.user, user);
auth.updateUser();
vm.errors = {};
alert.success('User updated');
})
Expand Down

0 comments on commit edbb23e

Please sign in to comment.