fix: #10121, fix error messages in user creation

isekai-main
Barış Soner Uşaklı 3 years ago
parent 6b1cd17e4a
commit 8ad64ec0f9

@ -401,7 +401,7 @@ define('admin/manage/users', [
});
alerts.success('[[admin/manage/users:alerts.create-success]]');
})
.catch(err => errorEl.translateHtml('[[admin/manage/users:alerts.error-x, ' + err.status.message + ']]').removeClass('hidden'));
.catch(err => errorEl.translateHtml('[[admin/manage/users:alerts.error-x, ' + err.message + ']]').removeClass('hidden'));
}
handleSearch();

Loading…
Cancel
Save