Files
kontor/kontor-echo/internal/helpers/auth.go
T
Thomas Peetz debdf3d0b0
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
Gitea Actions Demo / build-and-test (push) Failing after 11s
kontor-echo: setup project to show homepage
2026-11-09 17:02:59 +01:00

8 lines
169 B
Go

package helpers
import "strings"
func EmptyUserPass(username, password string) bool {
return strings.Trim(username, " ") == "" || strings.Trim(password, " ") == ""
}