From a34a82c74566c09af79c68efb94f400a27797f68 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 3 Jun 2016 10:26:10 -0700 Subject: [PATCH] Updating documentation on login process for new config workflow --- awx/ui/client/src/login/loginModal/loginModal.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/login/loginModal/loginModal.controller.js b/awx/ui/client/src/login/loginModal/loginModal.controller.js index f853da8516..48d377ae15 100644 --- a/awx/ui/client/src/login/loginModal/loginModal.controller.js +++ b/awx/ui/client/src/login/loginModal/loginModal.controller.js @@ -43,8 +43,8 @@ * - Start the expiration timer by calling the init() method of [js/shared/Timer.js](/static/docs/api/shared.function:Timer) * - Get user informaton by calling Authorization.getUser() - sends a GET request to /api/v1/me * - Store user information in the session cookie by calling Authorization.setUser(). - * - Get the Tower license by calling Authorization.getLicense() - sends a GET request to /api/vi/config - * - Stores the license object in local storage by calling Authorization.setLicense(). This adds the Tower version and a tested flag to the license object. The tested flag is initially set to false. + * - Get the Tower license by calling ConfigService.getConfig() - sends a GET request to /api/vi/config + * - Stores the license object in memory by calling CheckLicense.test(). This adds the Tower version and a tested flag to the license object. The tested flag is initially set to false. Additionally, the pendoService and FeaturesService are called to initiate the other startup services of Tower * * Note that there is a session timer kept on the server side as well as the client side. Each time an API request is made, Tower (in app.js) calls * Timer.isExpired(). This verifies the UI does not think the session is expired, and if not, moves the expiration time into the future. The number of