diff options
Diffstat (limited to 'settings/src/store/users.js')
-rw-r--r-- | settings/src/store/users.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/settings/src/store/users.js b/settings/src/store/users.js index ba2611b3eec..ff59dfbc8ad 100644 --- a/settings/src/store/users.js +++ b/settings/src/store/users.js @@ -431,7 +431,10 @@ const actions = { return api.post(OC.linkToOCS(`cloud/users`, 2), { userid, password, displayName, email, groups, subadmin, quota, language }) .then((response) => dispatch('addUserData', userid)) .catch((error) => {throw error;}); - }).catch((error) => commit('API_FAILURE', { userid, error })); + }).catch((error) => { + commit('API_FAILURE', { userid, error }); + throw error; + }); }, /** |