Skip to content

Cannot register on Discourse #148

Open

Description

@C0rn3j

The https://discourse.appimage.org/signup address has a bug where the endpoint just replies with 403 and the page is stuck on "
Checking username availability… ".

https://discourse.appimage.org/u/check_username?username=whatever&email=test%40example.com

{"errors":["You are not permitted to view the requested resource."],"error_type":"invalid_access"}

EDIT:

require("discourse/models/user").default.checkUsername = async function () {
  console.log("FAKING User.checkUsername()");
  return {
    available: true,
    suggestion: null,
    is_developer: false,
  };
};

If I force enable it I get

{"success":false,"message":"New account registrations are not allowed at this time."}

That REALLY could have been written more plainly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions