mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 16:32:15 +00:00
- When new user was created via admin, the verification email was send
- Item name in list view type is now extended on the full page width
This commit is contained in:
@@ -91,7 +91,7 @@ export default {
|
||||
this.isSendingRequest = true
|
||||
|
||||
axios
|
||||
.post(this.$store.getters.api + '/admin/users/' + this.$route.params.id + '/delete', {
|
||||
.post(this.$store.getters.api + '/admin/users/' + this.$route.params.id, {
|
||||
name: this.userName,
|
||||
_method: 'delete',
|
||||
})
|
||||
@@ -104,7 +104,7 @@ export default {
|
||||
})
|
||||
}
|
||||
|
||||
if (response.status === 204) {
|
||||
if (response.status === 200) {
|
||||
events.$emit('success:open', {
|
||||
emoji: '👍',
|
||||
title: this.$t('popup_deleted_user.title'),
|
||||
|
||||
Reference in New Issue
Block a user