Properly set token on user record (closes #25)
This commit is contained in:
parent
9d07ef79ac
commit
e278f007a7
|
@ -67,6 +67,7 @@
|
|||
|
||||
receiveMessage: (event) ->
|
||||
if event.origin == @expectedOrigin()
|
||||
event.data.user.token = event.data.token if event.data.token
|
||||
@setData(event.data)
|
||||
console.log("signed in as #{event.data.user.login}")
|
||||
else
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user