fixed secrets example

This commit is contained in:
murm 2022-06-22 20:42:32 -04:00
parent f8afdd8a77
commit b03aa46c00

View file

@ -1,6 +1,6 @@
package main package main
func getAdminToken() string { func validateAdminToken(token string) bool {
adminToken := "admin token goes here" adminToken := "burger"
return adminToken return adminToken == token
} }