Files
kontor/kontor-gin/internal/helpers/auth.go
T

14 lines
243 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, " ") == ""
}