Fix gallery HTML structure bug and replace email auth with OTP flow
Gallery: remove <a> from share allowlist. Gallery cards wrap content in <a class="gal-link">; allowing <a> in sanitized answer HTML causes nested anchors that the HTML5 adoption agency algorithm resolves by restructuring the DOM, producing mismatched </div> tags that leave gallery-grid open and pull sibling elements into the grid as spurious grid columns. Account: replace email+password sign-up/sign-in with magic-link OTP. supabase.auth.signInWithOtp handles both new and existing users in one flow. Existing onAuthStateChange listener (dadeb8ddb9a8.js) retained for post-redirect dashboard display. sendMagicLink added to extract-js RESERVED_GLOBALS so the obfuscator does not mangle the onclick reference.
This commit is contained in:
@@ -76,6 +76,7 @@ RESERVED_GLOBALS = [
|
||||
"signInWith",
|
||||
"signInWithEmail",
|
||||
"signUpWithEmail",
|
||||
"sendMagicLink",
|
||||
"signOut",
|
||||
"resetPassword",
|
||||
"sendResetEmail",
|
||||
|
||||
Reference in New Issue
Block a user