ByteOtter / OtterDen

A small Flask based blog application. Built for learning purposes only.
GNU General Public License v3.0
2 stars 1 forks source link

[BUG:] 'No Whitespaces allowed' error message when updating account info #98

Closed ByteOtter closed 1 year ago

ByteOtter commented 1 year ago

Found an issue? Please let us know!

When clicking Update your Info! on the account settings page, the form validation will fail with the message due to a whitespace being detected in the username. Eventhough there isn't one.

Suspected files: account.html user/routes.py /account-route user/forms.py UpdateAccountInfo-form

Please tick the applicable box(es) regarding the kind of bug you found:

Steps to reproduce

Please provide a detailed description of steps we have to take to reproduce your issue.
Please be aware that bugs which cannot be reproduced cannot be fixed.

Use these snippets as reference:

  1. Login/Register
  2. Goto User dropdown -> Settings
  3. Change random setting / do not change anything
  4. Click "Update your info!" button
  5. see error text below username field

-> no account info update done

ByteOtter commented 1 year ago

fixed by commit 68a01e8