Skip to content

Commit

Permalink
Merge pull request Tendrl#739 from a2batic/test4
Browse files Browse the repository at this point in the history
Bug Fix
  • Loading branch information
gnehapk authored Nov 9, 2017
2 parents 6dddd73 + 9aafb09 commit 0b129c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commons/stores/user-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@
data.name = user.name;
data.username = user.username;
data.email = user.email;
data.role = user.role;
if(user.role === "read-only") {
data.role = "limited";
} else {
data.role = user.role;
}
data.password = user.password;
data.password_confirmation = user.confirmPassword;
if(toggleNotification) {
Expand Down

0 comments on commit 0b129c4

Please sign in to comment.