Files
kontor/kontor-gin/pkg/helpers/auth.go
T
Thomas Peetz f2f4a0aaf6
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
add templates for kontor-gin
2026-09-21 19:55:46 +02:00

12 lines
238 B
Go

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