X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=authserver%2Fauthd%2Fauthd.php;h=c1e1722169dfc941ca9024f1a80ce3995529c623;hp=15416c05cb321cd643c37e7680fd6584faa2c8c0;hb=590f7600a8319d4ae08c32a32e7713ea6f9e2edb;hpb=fbe9740a0e8f0ee450cf2657fca374799e715c7d diff --git a/authserver/authd/authd.php b/authserver/authd/authd.php index 15416c0..c1e1722 100644 --- a/authserver/authd/authd.php +++ b/authserver/authd/authd.php @@ -115,6 +115,17 @@ if($pid == -1) { } break; + case MSG_SYNC_TOKEN: + if(!isset($msg["username"])) { + msg_send($cl_queue, MSG_SYNC_TOKEN, false); + } else { + $tokenone = $msg["tokenone"]; + $tokentwo = $msg["tokentwo"]; + + msg_send($cl_queue,MSG_SYNC_TOKEN, $myga->resyncCode($username, $tokenone, $tokentwo)); + } + + break; case MSG_ADD_USER_TOKEN: echo "Call to add user token\n"; if(!isset($msg["username"])) {