Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix QR url #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix QR url #23

wants to merge 1 commit into from

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