Skip to content

[Bug Report] registration form still requiring invite key with with require_invite false #956

@hdroller

Description

@hdroller

Describe the bug
When the config flag has require_invite set to false, the registration page hides the invite field but the user still gets a validation message saying "invalid invite key" when clicking "Register"

To Reproduce
Steps to reproduce the behavior:

  1. Set require_invite to false in stash-box-config.yml
  2. Start app
  3. Click register link
  4. Input email
  5. Click Register button
  6. Validation message says "Invalid invite key"

Expected behavior
It should register the user successfully and not try to validate a field that is hidden

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 11 AND docker
  • Browser: Chrome, firefox
  • Build: v0.6.11

Additional context
I originally couldn't use older builds because of a postgres migration. I figured out that I was using 17 when it wanted 16. Also, learned that the console output when you first run the program doesn't show on some of the newer builds. So I have a workaround and solved my problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions