Add error checking, add method handler for login

This commit is contained in:
manzerbredes 2016-02-04 13:20:45 +01:00
parent 37e02d62c4
commit 784b25754c
5 changed files with 53 additions and 31 deletions

View file

@ -0,0 +1,14 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var errors={};
errors.checkForLogin=function(result){
// TODO
return true;
};

View file

@ -1,9 +1,14 @@
// Make Namespace
var identity = {} ;
var identity = {};
identity.login=function(username, projectname, password){
// Todo
return "tokens";
};