+
+
+'.$ERROR.'
'; +}else if(@$SUCCESS){ + echo ''; +} + +$DATA=$DB->query("select * from users where _id={$_SESSION['UM_DATA']['_id']}")->fetch_assoc(); +if($DATA['authen_secret']){ + echo ''; +}else{ + $ga = new PHPGangsta_GoogleAuthenticator(); + $secret = $_POST['secret']?$_POST['secret']:$ga->createSecret(); + + $qrCodeUrl = $ga->getQRCodeGoogleUrl($UM_CONFIG['TITLE']."({$DATA['email']})", $secret); +?> +
+ +

+

Setup 2 Factor Verification

+
    +
  • Get the Authenticator from The App store (IOS) or Google Play (Android)
  • +
  • After opening App Click on Plus or Add button And Then Select Scan a QR Code
  • +
  • Scan Below QRCode
  • + +
  • Enter Generated Code in Below Field
  • +
+

+
+ +
+
+
+ +
+