79d88135ab
Authentication object is stored during the session, with data (currently with meetingID and username) sent by the server.
14 lines
225 B
CoffeeScript
14 lines
225 B
CoffeeScript
define [
|
|
'underscore',
|
|
'backbone'
|
|
], (_, Backbone) ->
|
|
|
|
AuthenticationModel = Backbone.Model.extend
|
|
url: '/'
|
|
defaults:
|
|
username: null
|
|
meetingID: null
|
|
loginAccepted: false
|
|
|
|
AuthenticationModel
|