• Roman's avatar
    feat: allow single letter user id (#3991) · 310f1479
    Roman authored
    * Allow single letter user id.
    
    They do work - I use one and login using Authelia, but then I am not able to update the profile to update avatar or add comment because "Invalid username: r" errors
    
    * Add test for the util with uid matcher
    
    * Move the test to separate directory
    
    * Use goimports on the test file
    
    * Rename the test for a mroe matching name, add failing test
    
    * Update the regexp so that two letter work
    
    ---------
    Co-authored-by: 's avatarRoman Kamyk <roman@kamyk.me>
    310f1479
Name
Last commit
Last update
.github Loading commit data...
bin/memos Loading commit data...
docs Loading commit data...
internal Loading commit data...
plugin Loading commit data...
proto Loading commit data...
scripts Loading commit data...
server Loading commit data...
store Loading commit data...
test Loading commit data...
web Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
.golangci.yaml Loading commit data...
.goreleaser.yaml Loading commit data...
CODEOWNERS Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...