Simplified the reducer to include only one single action: UPDATE_LOGIN_STATE, as the web application only requires to be aware of log in/out changes.
Later, we could think in adding an auth reducer to decouple the dependency of Login, ResetPassword and ChangePassword components with the auth library.
Simplified the reducer to include only one single action: UPDATE_LOGIN_STATE, as the web application only requires to be aware of log in/out changes.
Later, we could think in adding an auth reducer to decouple the dependency of Login, ResetPassword and ChangePassword components with the auth library.