mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Leave the fxa jelly up after signin/signup. r=ckarlof
The UX is still pretty bad, but this is marginally better, because the instructions to "go check your email" remain on the screen. Related to Bug 949699.
This commit is contained in:
parent
67e9c675c0
commit
aca417b105
@ -56,12 +56,13 @@ let wrapper = {
|
||||
fxAccounts.setSignedInUser(accountData).then(
|
||||
() => {
|
||||
this.injectData("message", { status: "login" });
|
||||
// until we sort out a better UX, we open the sync-progress page.
|
||||
// We currently do it on a timeout as a concession to the tests, so
|
||||
// it has time to act on our "login" message.
|
||||
setTimeout(function() {
|
||||
window.location = "about:sync-progress";
|
||||
}, 0);
|
||||
// until we sort out a better UX, just leave the jelly page in place.
|
||||
// If the account email is not yet verified, it will tell the user to
|
||||
// go check their email, but then it will *not* change state after
|
||||
// the verification completes (the browser will begin syncing, but
|
||||
// won't notify the user). If the email has already been verified,
|
||||
// the jelly will say "Welcome! You are successfully signed in as
|
||||
// EMAIL", but it won't then say "syncing started".
|
||||
},
|
||||
(err) => this.injectData("message", { status: "error", error: err })
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user