Fix: email-only members were locked out of the members area
refreshNavWallet assumed every signed-in session has a wallet address and threw on null for email-only members; the catch returned null and render() treated the member as signed out even though the session and cookie were valid. Nav now shows the email (or member badge) when no wallet is linked. Verified with a full browser cycle: session landing, logout, fresh code sign-in. Assets v=20260904k. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+5
-5
@@ -5,7 +5,7 @@
|
||||
<title>InstantAdPay: advertise and earn, locked in code</title>
|
||||
<meta name="description" content="Real ad packages with instant on-chain settlement. Every purchase pays the sponsor line in the same transaction, verifiable by anyone on the live ledger.">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||
<link rel="stylesheet" href="/assets/site.css?v=20260904j">
|
||||
<link rel="stylesheet" href="/assets/site.css?v=20260904k">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -398,9 +398,9 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script src="/assets/common.js?v=20260904j"></script>
|
||||
<script src="/assets/wallet.js?v=20260904j"></script>
|
||||
<script src="/assets/home.js?v=20260904j"></script>
|
||||
<script src="/assets/chat.js?v=20260904j"></script>
|
||||
<script src="/assets/common.js?v=20260904k"></script>
|
||||
<script src="/assets/wallet.js?v=20260904k"></script>
|
||||
<script src="/assets/home.js?v=20260904k"></script>
|
||||
<script src="/assets/chat.js?v=20260904k"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user