virtualpaper icon indicating copy to clipboard operation
virtualpaper copied to clipboard

Username must be lowercase

Open Opt6 opened this issue 3 years ago • 1 comments

I've set this up on unRAID and noticed that if I use the command line to create a user with any uppercase characters the GUI returns "Unauthorized" on commit eb6d8b0.

Opt6 avatar Jul 21 '22 22:07 Opt6

This will need a proper fix later on. I first thought it would be better to enforce all usernames to lowercase, but now I'm thinking it might make more sense to just allow logging in with case-insensitive username, but this would require some more work, e.g. ensuring that case-insensitive usernames are unique.

As a workaround for now, you can lowercase all usernames in the database with:

UPDATE users SET name=lower(name);

tryffel avatar Jul 26 '22 08:07 tryffel

Resolved with #10 .

tryffel avatar Mar 29 '23 19:03 tryffel