diff --git a/packages/auth/src/vpu-auth.js b/packages/auth/src/vpu-auth.js index 183bba9fc42c8accb29fb705a17ba549f76717fb..feb51dd806d4f4b984e7700e6e8b52a990736c67 100644 --- a/packages/auth/src/vpu-auth.js +++ b/packages/auth/src/vpu-auth.js @@ -195,7 +195,7 @@ class VPUAuth extends VPULitElement { const handleLogin = async () => { if (this.forceLogin || this._kcwrapper.isLoggingIn()) { this._setLoginStatus(LoginStatus.LOGGING_IN); - await this._kcwrapper.login(); + await this._kcwrapper.login({lang: this.lang}); } else if (this.tryLogin) { this._setLoginStatus(LoginStatus.LOGGING_IN); await this._kcwrapper.tryLogin(); @@ -238,7 +238,7 @@ class VPUAuth extends VPULitElement { } onLoginClicked(e) { - this._kcwrapper.login(); + this._kcwrapper.login({lang: this.lang}); e.preventDefault(); }