bigbluebutton-Github/labs/bbb-html5-client/public/js/models/authentication.coffee
Leonardo Crauss Daronco d795a56c93 Allow page refreshes and redirect the user to the session when already logged in
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).
2012-12-14 22:03:38 -02:00

14 lines
229 B
CoffeeScript

define [
'underscore',
'backbone'
], (_, Backbone) ->
AuthenticationModel = Backbone.Model.extend
url: '/auth'
defaults:
username: null
meetingID: null
loginAccepted: false
AuthenticationModel