Skip to content

Duplicate auth toggle (HTML vs app.js) #500

Closed

Description

@diksha78dev

auth.html has inline JS for login/register toggle; app.js also toggles auth mode. Consolidate to one source of truth to avoid drift.


Assign to me: @devanshi14malhotra

Activity

  1. HitanshiThakar commented on May 14, 2026

    @HitanshiThakar

    Hey @devanshi14malhotra , I would like to work on this issue under GSSoc'26.
    Kindly assign it to me.

  2. aishwaryagangaraj-web commented on May 15, 2026

    @aishwaryagangaraj-web
    Contributor

    Hi @diksha78dev, I reviewed the issue and understand the duplication problem between auth.html inline JS and app.js.

    I would like to contribute by refactoring the auth toggle logic to maintain a single source of truth.

    My plan:

    Remove inline JS from auth.html
    Consolidate toggle logic into app.js
    Ensure login/register UI state is controlled centrally and consistently

    I will start working on this and raise a PR soon. Please let me know if I can proceed.

  3. added
    NSoC'26For issues and PRs which are a part of the Nexus Spring of Code open source event
    GSSoC'26For all issues/PRs related to GSSoC'2026 open source event
    level:beginnerGSSoC'26 beginner level PR/issue
    on May 15, 2026
  4. added a commit that references this issue on May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GSSoC'26For all issues/PRs related to GSSoC'2026 open source eventNSoC'26For issues and PRs which are a part of the Nexus Spring of Code open source eventgood first issueGood for newcomerslevel13 pointslevel:beginnerGSSoC'26 beginner level PR/issue

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions