summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/sdk/auth.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-10-20 16:38:46 -0400
committerJules Laplace <jules@okfoc.us>2015-10-20 16:38:46 -0400
commitd7e9ea57e410cf206f1e82a97e11e3cc793497bd (patch)
treed4049b530c7dbbac9c0da86fc151ee14182ffce3 /StoneIsland/www/js/sdk/auth.js
parent5fc529464393b5bd078e6a3987e6198503a433ef (diff)
test login api
Diffstat (limited to 'StoneIsland/www/js/sdk/auth.js')
-rw-r--r--StoneIsland/www/js/sdk/auth.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/StoneIsland/www/js/sdk/auth.js b/StoneIsland/www/js/sdk/auth.js
index 71e9e2d0..cea0054c 100644
--- a/StoneIsland/www/js/sdk/auth.js
+++ b/StoneIsland/www/js/sdk/auth.js
@@ -16,16 +16,14 @@ var auth = (function(){
auth.access_token = ""
auth.user_id = -1
- auth.name = ""
// ios: integrate keychain api
// android: cordova.file.externalRootDirectory api
- auth.set_user = function(user_id, access_token, name){
+ auth.set_user = function(user_id, access_token){
// persist user data
auth.user_id = user_id
auth.access_token = access_token
- auth.name = name
}
auth.get_user = function(cb){
// fetch user data