ISN-Zurich / ISN-Learning-Cards

ISN Mobile Application to run Learning Cards for Courses on an Ilias LMS
6 stars 6 forks source link

Logout is not working properly #225

Closed evangelia-mitsopoulou closed 11 years ago

evangelia-mitsopoulou commented 11 years ago

Current Behavior: When we logout and we log in again we land in the courses list view. The problem started appearing after we changed the condition in the isLoggedIn in configuration model. The logged in state was measured according to the value of loginState of configuration object and not on the value of the user authentication key as it was originally done. Desired Behavior: When launch the app we should land to the landing view if we had previously logged out.

HINT: Store in the local storage the value of loginState right straight it set to loggedOut in the logout function of the configuration Model.