Skip to content

Commit c812cf1

Browse files
Edit Profile and Password disabled for demo purpose
1 parent a4b4d47 commit c812cf1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

resources/assets/js/components/profile/edit-password/EditPasswordForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
methods: {
6161
updatePassword() {
6262
// uncomment the following 2 lines in your app
63-
// alert('Edit Password is disabled for demo purpose');
64-
// return;
63+
this.$noty.info('Edit Password is disabled for demo purpose');
64+
return;
6565
6666
this.loading = true;
6767
axios.post(api.updateUserPassword, this.form)

resources/assets/js/components/profile/edit-profile/EditProfileForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
methods: {
6161
updateProfile() {
6262
// uncomment the following 2 lines to enable edit profile
63-
// alert('Edit Profile is disabled for demo purpose');
64-
// return;
63+
this.$noty.info('Edit Profile is disabled for demo purpose');
64+
return;
6565
6666
this.loading = true;
6767
axios.post(api.updateUserProfile, this.form)

0 commit comments

Comments
 (0)