forked from TripwireTeam/tripwire
fixed secrets example
This commit is contained in:
parent
f8afdd8a77
commit
b03aa46c00
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue