summary refs log tree commit diff stats
path: root/auth/gentoken.go
blob: 1e0187548a2b61ad0371d314fa945c99489a6d8d (plain) (blame)
1
2
3
4
5
6
7
8
package auth

// genToken generates a random token string of length n. Don't forget to
// seed the random number generator otherwise it won't be random.
func genToken(n int) string {
	// Currently this is just a wrapper to genID.
	return genID(n)
}