From 8ad64ec0f964c0239d935295dfe653d7f921693f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 4 Jan 2022 10:24:10 -0500 Subject: [PATCH] fix: #10121, fix error messages in user creation --- public/src/admin/manage/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/admin/manage/users.js b/public/src/admin/manage/users.js index 76b9706de3..6d75a7d353 100644 --- a/public/src/admin/manage/users.js +++ b/public/src/admin/manage/users.js @@ -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();