-# LOCAL OVERRIDE for anti-social.online, added 2026-09-17. -# Copy of app/views/auth/registrations/new.html.haml from Mastodon v4.7.2, -# with a self-hosted ALTCHA widget added before the submit button. See -# config/initializers/zz_altcha.rb for why this lives here instead of -# editing the tracked view directly, and for the caveat that upstream -# changes to the real template won't be reflected here automatically -- -# diff this against app/views/auth/registrations/new.html.haml after any -# future Mastodon upgrade. - content_for :page_title do = t('auth.register') - content_for :header_tags do = render partial: 'shared/og', locals: { description: description_for_sign_up(@invite) } -# Using the /dist/main (default) build, NOT /dist/external: confirmed -# 2026-09-17 that /dist/external never calls algorithms.set() anywhere in -# its source (grep on the vendored file: zero matches) -- it expects the -# consumer to manually import and register a worker per algorithm, same -# as the Argon2/Scrypt pattern in the README, which we never did. Real -# users hit "Unsupported algorithm SHA-256" because of this (verify_solution -# was never the bug -- the widget never got far enough to solve anything). -# The default bundle self-registers SHA-256/PBKDF2 on load, at the cost of -# one inline