stonith404 / pingvin-share

A self-hosted file sharing platform that combines lightness and beauty, perfect for seamless and efficient file sharing.
https://stonith404.github.io/pingvin-share/
BSD 2-Clause "Simplified" License
3.44k stars 238 forks source link

🐛 Bug Report: username and password is not trimmed when checking #629

Closed alexlehm closed 1 month ago

alexlehm commented 1 month ago

👟 Reproduction steps

paste a password or username with a space at the end, this happens in copy-paste in Windows for example

👍 Expected behavior

the strings should remove spaces at start or end before the account is checked

👎 Actual Behavior

the login fails because the username is compared with the space

📜 Logs

No response

stonith404 commented 1 month ago

Fixed in v1.2.1