LoginForm waits for its socket to onopen.
This commit is contained in:
parent
f4f043f4e1
commit
b8c2e54eeb
@ -273,6 +273,7 @@ render-project = (project) ->
|
||||
|
||||
model.login-form = LoginForm {
|
||||
authws-url: model.authd-url
|
||||
schedule-render: -> projector.schedule-render!
|
||||
on-login: (user, token) ->
|
||||
# FIXME: May double-login if the user clicks the “login” button too much.
|
||||
if model.current-view != "login"
|
||||
|
Loading…
Reference in New Issue
Block a user