Update main.go
This commit is contained in:
parent
68e7929835
commit
132f201fa7
9
main.go
9
main.go
@ -29,9 +29,12 @@ Here:
|
|||||||
r.ParseForm()
|
r.ParseForm()
|
||||||
fmt.Println("username:", r.Form["username"])
|
fmt.Println("username:", r.Form["username"])
|
||||||
fmt.Println("password:", r.Form["password"])
|
fmt.Println("password:", r.Form["password"])
|
||||||
if len(r.Form["username"][0]) == 0 {
|
//if len(r.Form["username"][0]) == 0 {
|
||||||
goto Here
|
// goto Here
|
||||||
}
|
//}
|
||||||
|
//if len(r.Form["password"][0]) == 0 {
|
||||||
|
// goto Here
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
username := r.Form["username"]
|
username := r.Form["username"]
|
||||||
password := r.Form["password"]
|
password := r.Form["password"]
|
||||||
|
Loading…
Reference in New Issue
Block a user