Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Mango Can't Handle Certain Passwords #920

Open
martyjhenderson opened this issue Oct 18, 2022 · 0 comments
Open

[BUG] Mango Can't Handle Certain Passwords #920

martyjhenderson opened this issue Oct 18, 2022 · 0 comments
Labels

Comments

@martyjhenderson
Copy link

What happened?

Steps to reproduce:

  1. Have a password that contains a space (e.g. bakery come commute lock)
  2. Install package mango (box install mango)
  3. Error (see logs)
  4. Go to /mango
  5. Attempt to login and fail due to password

Expected results:

Able to log in with a password that contains spaces

Swizzin commit

448031a

What OS are you using?

Ubuntu 20.04 (Focal)

What architecture is your OS?

amd64

Relevant logs and output

...     Adding {redacted} to mango
[INFO]    2022/10/18 23:18:18 | Migrating to CreateUsers (1)
[INFO]    2022/10/18 23:18:19 | Migrating to CreateIds (2)
[INFO]    2022/10/18 23:18:19 | Migrating to CreateThumbnails (3)
[INFO]    2022/10/18 23:18:19 | Migrating to CreateTags (4)
[INFO]    2022/10/18 23:18:19 | Migrating to CreateTitles (5)
[INFO]    2022/10/18 23:18:19 | Migrating to ForeignKeys (6)
[INFO]    2022/10/18 23:18:19 | Migrating to IDSignature (7)
[INFO]    2022/10/18 23:18:19 | Migrating to RelativePath (8)
[INFO]    2022/10/18 23:18:19 | Migrating to UnavailableIDs (9)
[INFO]    2022/10/18 23:18:19 | Migrating to RelativePathFix (10)
[INFO]    2022/10/18 23:18:19 | Migrating to CreateMangaDexAccount (11)
[INFO]    2022/10/18 23:18:19 | Migrating to SortTitle (12)
[INFO]    2022/10/18 23:18:19 | Job done
Unhandled exception: Password should contain at least 6 characters (Exception)
  from /__w/Mango/Mango/src/mango.cr:99:3 in '->'
  from /__w/Mango/Mango/src/mango.cr:138:1 in '__crystal_main'
  from /usr/share/crystal/src/crystal/main.cr:110:5 in 'main'
  from src/env/__libc_start_main.c:94:2 in 'libc_start_main_stage2'
        ✔   {redacted} added to mango
...     Installing systemd service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant