]> Untitled Git - lemmy.git/commit
Don't allow preferred usernames to start with @. Fixes #1058 (#1076)
authorDessalines <dessalines@users.noreply.github.com>
Wed, 12 Aug 2020 11:13:44 +0000 (07:13 -0400)
committerGitHub <noreply@github.com>
Wed, 12 Aug 2020 11:13:44 +0000 (11:13 +0000)
commitd28e5245d2ae1e496993ef902e8dde7eb8c6ef70
tree75616350c93e7f7f8277f96e2ec8325bbad3122f
parent49892690ff0842d84b742eb6930014c942942a35
Don't allow preferred usernames to start with @. Fixes #1058 (#1076)

* Don't allow preferred usernames to start with @. Fixes #1058

* Trim the preferred username.
server/lemmy_utils/src/lib.rs
server/src/api/user.rs
ui/src/components/user-details.tsx
ui/src/components/user.tsx