add locale to signup

This commit is contained in:
Valentin Boettcher 2019-03-09 15:54:05 +01:00
parent 7b955e725c
commit 1d4b517e19

View file

@ -804,6 +804,9 @@ export class AccountsLoginFormInner extends TrackerComponent {
options.password = password;
}
// set the signup locale
options.locale = this.context.intl.locale;
const SignUp = function(_options) {
Accounts.createUser(_options, (error) => {
if (error) {