google-authenticator icon indicating copy to clipboard operation
google-authenticator copied to clipboard

Add prefix and suffix to the OTP Code when inserting

Open d4rpx1 opened this issue 1 year ago • 2 comments

Hi!

I've come across are some Requests that require an OTP which does not have a default value, for example a post request with the body username=user&otp=&password=pw.

It would be a nice feature a prefix/suffix could be added to the inserted code, this way you could use otp= as the expression to match and add otp= as the prefix to the code, so otp= would be replaced with otp=000000 (valid OTP code)

d4rpx1 avatar Apr 10 '24 08:04 d4rpx1

This is a good idea — open to a PR.

aress31 avatar Sep 04 '25 07:09 aress31

PR #17 should close this issue

d4rpx1 avatar Sep 14 '25 13:09 d4rpx1