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
|
||||
|
||||
func getAdminToken() string {
|
||||
adminToken := "admin token goes here"
|
||||
return adminToken
|
||||
func validateAdminToken(token string) bool {
|
||||
adminToken := "burger"
|
||||
return adminToken == token
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue