UNPKG

fh-wfm-user

Version:
19 lines (17 loc) 391 B
/** * Initialsing a subscriber for logging out a user * * @param {object} userEntityTopics * @param {UserClient} userClient - The User Client */ module.exports = function hasSessionUser(userEntityTopics, userClient) { /** * * Handling logging out the current user. * * @returns {*} */ return function handleHasSession() { return userClient.hasSession(); }; };