Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ClientHub.loggedOutView = Em.View.extend({
- templateName: "login",
- LoginFormView: Em.View.extend({
- errorMsg: null,
- error: null,
- username: null,
- password: null,
- submitLogin:function(){
- ClientHub.LoginManager.send('login', {username: this.get('username'),
- password: this.get('password')
- })
- }
- }),
- });
Add Comment
Please, Sign In to add comment