We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6133c44 commit ea6c9abCopy full SHA for ea6c9ab
account.html
@@ -49,6 +49,8 @@
49
function checkAuth() {
50
const urlParams = new URLSearchParams(window.location.search);
51
const authSuccess = urlParams.get('success'); // Example: Scratch Auth might return '?success=true'
52
+ const username = urlParams.get('username')
53
+ localStorage.setItem('username', username)
54
55
if (authSuccess === 'true') {
56
// Redirect to index.html if login was successful
0 commit comments