$_SESSION['player_ipns']

This commit is contained in:
fred 2022-11-15 21:36:40 +01:00
parent 045bf888c4
commit b613f8a917
2 changed files with 93 additions and 83 deletions

View File

@ -56,6 +56,13 @@ echo '
</span>
</a>
</li>
<li id="dashboard-TW">
<a href="/ipns/'. $_SESSION['player_ipns'].'">
<span>
TW
</span>
</a>
</li>
</ul>

View File

@ -18,6 +18,8 @@ if (isset($_POST['salt'], $_POST['pepper'])) {
try {
$playerG1Id = $fred->donneMoiSaPutaindeG1Pub($_POST['salt'], $_POST['pepper']);
$playerIPNS = $fred->donneMoiLaPutainDeClefIPNS($_POST['salt'], $_POST['pepper']);
$keygen->generatePubsec($_POST['salt'], $_POST['pepper']);
} catch (Exception $errMsg) {
@ -26,6 +28,7 @@ if (isset($_POST['salt'], $_POST['pepper'])) {
}
$_SESSION['player_pubkey'] = $playerG1Id;
$_SESSION['player_ipns'] = $playerIPNS;
$gchange = new Gchange();