Skip to content

Conversation

gsoft
Copy link

@gsoft gsoft commented Feb 19, 2020

FIX - & instead ? in QR url provoke "Could`t recognize the key"

& to ? in url - provoke "Could`t recognize the key in QR"
@gsoft gsoft changed the title ! FIX QR url Fix QR url Feb 19, 2020
@RkVladimir
Copy link

RkVladimir commented Oct 4, 2024

Really, in order to work, you need to change code:
$encoderURL = sprintf( "%sotpauth://totp/%s@%s?secret=%s",$encoder, $user, $hostname, $secret);
it was
$encoderURL = sprintf( "%sotpauth://totp/%s@%s&secret=%s",$encoder, $user, $hostname, $secret);
&secret change to ?secret

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.

2 participants