Merge pull request #2240 from vale981/add_signup_locale

Add locale on signup.
This commit is contained in:
Sacha Greif 2019-03-10 14:59:02 +09:00 committed by GitHub
commit 2b1776ff02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {