зеркало из https://github.com/mozilla/fxa.git
Merge pull request #17116 from mozilla/react-signin-with-force-auth-email
fix(content): Set email for force_auth with React signin
This commit is contained in:
Коммит
ea04e6157e
|
@ -421,6 +421,8 @@ var BaseView = Backbone.View.extend({
|
|||
// specifies an email address, we force the user to use that account.
|
||||
_reAuthPage() {
|
||||
if (this.relier && this.relier.get('email')) {
|
||||
// setting the email here ensures that React signin can pick up on this email
|
||||
this.user.set('email', this.relier.get('email'));
|
||||
return 'force_auth';
|
||||
}
|
||||
// Until email-first is fully the default, this is
|
||||
|
|
Загрузка…
Ссылка в новой задаче