diff --git a/assets/js/pages/account.js b/assets/js/pages/account.js index 7df833cd..09877adb 100644 --- a/assets/js/pages/account.js +++ b/assets/js/pages/account.js @@ -170,7 +170,7 @@ App.Pages.Account = (function () { function onUsernameChange() { const username = $username.val(); - App.Http.Account.validateUsername(username).done((response) => { + App.Http.Account.validateUsername(vars('user_id'), username).done((response) => { const isValid = response.is_valid; $username.toggleClass('is-invalid', !isValid); if (!isValid) {