function generateSecret(login) {
            loginObj.setPassword(loginObj.generateSecret(passwordLength, symbols));
            passwordGenerated = true;
        }
Generate and set a new secret on the provided login object

@param {object} login current secret details
@returns {void}