Skip to content

Commit 52876b0

Browse files
- FIX: Fixed an issue with the new primary contact field where not setting it for a user will result in the permission not working.
1 parent ab70ca1 commit 52876b0

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gatekeeper",
3-
"version": "4.8.6",
3+
"version": "4.8.7",
44
"description": "",
55
"author": "Sebastian Raubach",
66
"scripts": {

src/lang/en_GB.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"errorMessageInvalidUsernamePassword": "Invalid username or password",
1616
"errorMessageActivationInvalidKey": "Invalid activation key. This can happen if the account has already been activated.",
1717
"errorMessageNoActivationKey": "No activation key provided.",
18-
"appVersion": "4.8.6",
18+
"appVersion": "4.8.7",
1919
"formLabelEmail": "Email address",
2020
"formLabelCurrentPassword": "Old password",
2121
"formLabelUsername": "Username",

src/views/Login.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ export default {
120120
this.$store.dispatch('ON_TOKEN_CHANGED', result)
121121
this.$router.push('/')
122122
}, {
123-
codes: [],
123+
codes: [400, 403],
124124
callback: error => {
125+
console.log('error', error)
125126
this.error = true
126127
if (error.status === 403 || error.status === 400) {
127128
this.response = this.$t('errorMessageInvalidUsernamePassword')

src/views/Users.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default {
161161
server: null,
162162
description: null,
163163
userType: 2,
164-
userIsPrimaryContact: false
164+
userIsPrimaryContact: '0'
165165
},
166166
userTypeOptions: [{
167167
value: 1,
@@ -220,7 +220,7 @@ export default {
220220
server: null,
221221
description: null,
222222
userType: 2,
223-
userIsPrimaryContact: false
223+
userIsPrimaryContact: '0'
224224
}
225225
},
226226
onDeleteUserClicked: function () {

0 commit comments

Comments
 (0)