Ejemplo n.º 1
0
 requestInvite: function () {
   var self = this;
   this.set("requestInviteRequest", bindableCall(function (next) {
     self.application.mediator.execute("requestInvite", { email: self.get("user.email") }, next);
   }));
 }
Ejemplo n.º 2
0
 resetPassword: function () {
   var self = this;
   this.set("resetPasswordRequest", bindableCall(function (next) {
     self.application.mediator.execute("resetPassword", _.extend({ code: self.get("code") }, self.get("user").toJSON()), next);
   }));
 }
Ejemplo n.º 3
0
 login: function () {
   this.set("loginRequest", bindableCall(login, this));
 }