You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually that also works, but may fail in more complex situations where `user` has a chance of being overwritten between the moments of asking and running `() => user.loginOk()`.
42
-
41
+
Usually that also works and looks good.
43
42
43
+
It's a bit less reliable though in more complex situations where `user` variable might change *after*`askPassword` is called, but *before* the visitor answers and calls `() => user.loginOk()`.
0 commit comments