d795a56c93
User authentication now through /auth (GET|POST). /chat removed. Increased the time limit for a user to be logged out from 1sec to 5secs (the pages take a bit longer to load now).
14 lines
229 B
CoffeeScript
14 lines
229 B
CoffeeScript
define [
|
|
'underscore',
|
|
'backbone'
|
|
], (_, Backbone) ->
|
|
|
|
AuthenticationModel = Backbone.Model.extend
|
|
url: '/auth'
|
|
defaults:
|
|
username: null
|
|
meetingID: null
|
|
loginAccepted: false
|
|
|
|
AuthenticationModel
|