summaryrefslogtreecommitdiff
path: root/internal/web/profile.go
diff options
context:
space:
mode:
authorLibravatar Mia Heidenstedt <i5heu@i5h.eu>2022-11-03 13:15:31 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-03 13:15:31 +0100
commitf3fc040c2effd85afa91d94bd409fa016980056e (patch)
tree7e9c1f407183728c44fa18fa282215d640aa9d2e /internal/web/profile.go
parent[frontend] change bundler to skulk (#942) (diff)
downloadgotosocial-f3fc040c2effd85afa91d94bd409fa016980056e.tar.xz
[feature] Allow user to show instead of landing page on / (#922)
* configurable user instead of landing page * rename DefaultUser to LandingPageUser * code review changes and fix tests * try to fix pipeline error * code review changes * code review changes * code review changes * remove unnecessary line
Diffstat (limited to 'internal/web/profile.go')
-rw-r--r--internal/web/profile.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/web/profile.go b/internal/web/profile.go
index 27de99e13..5023fa238 100644
--- a/internal/web/profile.go
+++ b/internal/web/profile.go
@@ -49,7 +49,6 @@ func (m *Module) profileGETHandler(c *gin.Context) {
return
}
- // usernames on our instance will always be lowercase
username := strings.ToLower(c.Param(usernameKey))
if username == "" {
err := errors.New("no account username specified")