Fixed ineffassign to

This commit is contained in:
BetaPictoris
2023-08-06 02:58:40 -07:00
parent d8338590fd
commit 79b28ef653
+1 -1
View File
@@ -73,7 +73,7 @@ func (c *Controller) WithUser(next http.Handler) http.Handler {
}
user := c.DB.GetUserByName(username)
newLDAPUser := false
var newLDAPUser bool
if user == nil {
// Because the user wasn't found we can now try
// to use LDAP. ldapFQDN, err := c.DB.GetSetting("ldap_fqdn")