thomiceli / opengist

Self-hosted pastebin powered by Git, open-source alternative to Github Gist.
https://demo.opengist.io
GNU Affero General Public License v3.0
1.52k stars 76 forks source link

Field Password should not be empty when trying to change username #299

Open AdriDevelopsThings opened 3 days ago

AdriDevelopsThings commented 3 days ago

I'm getting this error: Field Password should not be empty when I try to change my username without changing/setting my password. I'm not into go or this project but it seems like this required flag (https://github.com/thomiceli/opengist/blob/master/internal/db/user.go#L207) in combination with an empty password because I'm using oauth instead of a password.

Thanks for this project!