unfunny the comments

This commit is contained in:
sentriz
2021-12-09 21:13:17 +00:00
committed by Senan Kelly
parent f9133aac91
commit 62ccf01a3a
7 changed files with 46 additions and 38 deletions

View File

@@ -59,7 +59,7 @@ func (c *Controller) WithUser(next http.Handler) http.Handler {
password, _ := params.Get("p")
token, _ := params.Get("t")
salt, _ := params.Get("s")
//
passwordAuth := token == "" && salt == ""
tokenAuth := password == ""
if tokenAuth == passwordAuth {