• Resolved romainb

    (@romainb)


    Hi,

    I would love to understand how you generated the qrcode picture ?
    My main question would be “how far we can be sure that QRCODE is generated locally and not remotely asking for a third party site to generate qrcode?”

    I’ve dig into your google-authenticator.php file and found this line that I think is the good one:

    
    		jQuery.post(ajaxurl, data, function(response) {
    
      			jQuery('#GA_secret').val(response['new-secret']);
    
      			var qrcode="otpauth://totp/WordPress:"+escape(jQuery('#GA_description').val())+"?secret="+jQuery('#GA_secret').val()+"&issuer=WordPress";
    
    			jQuery('#GA_QRCODE').qrcode(qrcode);
    
     			jQuery('#GA_QR_INFO').show('slow');
    
      		});  	

    could you explain how this is working ?

    thank you

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Can you explain QR CODE GENERATION php code ?’ is closed to new replies.