Skip to content

Conversation

@DarshitAkbari57
Copy link

add totp for the generate session

add totp for the generate session
Copy link

@Jagajeet-kuppala Jagajeet-kuppala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @DarshitAkbari57
We need to get the totp as function param and then pass it to params object

To Be function:

self.generateSession = function (client_code, password, totp) {
    let params = {
        "clientcode": client_code,
        password,
        totp
    }
    let token_data = post_request("user_login", params);

* @param {string} clientcode
* @param {string} password
*/
self.generateSession = function (client_code, password) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add the totp in params @DarshitAkbari57

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akash-gupt plz review #3

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akash-gupt any update??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants