thycotic.secretserver icon indicating copy to clipboard operation
thycotic.secretserver copied to clipboard

OTP code handling does not handle codes starting with 0 properly

Open jagger opened this issue 2 years ago • 0 comments

Verified issue does not already exist?

Yes

What error did you receive

When entering an OTP code value starting with 0 this is removed when sending date to secret server. the parameter expects an integer and not a string which truncates the value

Please run the command using -Verbose

tested internally

Provide a test case or steps to reproduce

tested internally

Expected behavior

Treat the OTP code as a string and not an integer

What Edition of Secret Server?

Platinum

What version of Secret Server

EA release

What PowerShell host was used when producing this error

Windows PowerShell (powershell)

PowerShell Host Version

tested internally

jagger avatar Dec 01 '22 16:12 jagger