Jump to content
McKay Development

Time error when using respondToConfirmation method


goodjonte

Recommended Posts

community.respondToConfirmation(
    req.header('ConfirmationIds'), //array of ids
    req.header('ConfirmationKeys'), //array of keys
    maFile.server_time, //unix time
    SteamTotp.getConfirmationKey(maFile.identity_secret, maFile.server_time,  "conf"), 
    true, 
    err => err ? console.log(err) : console.log("Accepted!")
  );

When running the above code im getting the typical time error "It looks like there is a problem with the time or timezone....."

All my other methods work fine including my getConfirmations() method, where i am using the same time value.

I thought maybe there's something wrong with how im getting the confirmation key? although i got the key the same way for  my getConfirmations() method

Am i missing something here?

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...