Skip to content

fix logout and body control

Compare
Choose a tag to compare
@SaicharanKandukuri SaicharanKandukuri released this 09 Sep 05:01
· 20 commits to main since this release
c450343
  • dynamically set epoch time for "&a"
  • fixes issue with logout with mode ( mode 191: for login, mode 193: for logout )
  • Control for product type ( unfinished )
  • Validation checks for auth modes
        body_arg_passwd     = f"&password={password}" if mode == "191" else ""
        body_arg_username   = f"&username={username}"
        body_arg_epoch      = f"&a={int(time.time())}"
        body_arg_product    = f"&product={product}"
        
        body = (
            f"mode={mode}" 
            + body_arg_username 
            + body_arg_passwd 
            + body_arg_epoch
            + body_arg_product
        )

PR based on experiments with @abhikatta


Full Changelog: v1.0.6...v1.0.8