diff --git a/app/src/main/java/org/ntlab/amaryllis/client/LoginActivity.java b/app/src/main/java/org/ntlab/amaryllis/client/LoginActivity.java index 9c0bbac..cab47de 100644 --- a/app/src/main/java/org/ntlab/amaryllis/client/LoginActivity.java +++ b/app/src/main/java/org/ntlab/amaryllis/client/LoginActivity.java @@ -51,9 +51,9 @@ call.enqueue(new Callback(){ @Override public void onResponse(Call call, Response response) { - /*LoginJson loginJson =response.body(); + LoginJson loginJson =response.body(); Amaryllis app = (Amaryllis) getApplication(); - app.setToken(loginJson.getToken());*/ + app.setToken(loginJson.getToken()); Intent intent = new Intent(LoginActivity.this, MapsActivity.class); startActivity(intent); }