diff options
Diffstat (limited to 'src/js/Botleagues.coffee')
-rw-r--r-- | src/js/Botleagues.coffee | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/js/Botleagues.coffee b/src/js/Botleagues.coffee index 06ace76..285248f 100644 --- a/src/js/Botleagues.coffee +++ b/src/js/Botleagues.coffee @@ -5,7 +5,6 @@ $.cookie.json = true url: 'https://api.local.botleagues.camilstaps.nl' cookie_login_email: 'botleagues_login_email' - cookie_login_user_id: 'botleagues_login_user_id' cookie_login_token: 'botleagues_login_token' cookie_login_valid_till: 'botleagues_login_valid_till' @@ -31,7 +30,7 @@ $.cookie.json = true login: (email, password) -> Botleagues.request - endpoint: 'user_token' + endpoint: 'user/' + email + '/token' method: 'POST' callback: BotleaguesCallback.login headers: @@ -48,7 +47,6 @@ $.cookie.json = true clearLoginCookies: -> $.removeCookie Botleagues.cookie_login_email - $.removeCookie Botleagues.cookie_login_user_id $.removeCookie Botleagues.cookie_login_token $.removeCookie Botleagues.cookie_login_valid_till return
\ No newline at end of file |