umstellung auf Service und Repository Verwendung - WIP
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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, " ") == ""
|
||||
}
|
||||
Reference in New Issue
Block a user