small pixel drawing of a pufferfish vore

auth/auth.go

1 2 3 4 5 6 7 8 9 10 11 12
package auth

import (
	"fmt"
	"time"
)

func GenerateSessionToken() string {
	// TODO: don't use the time ffs
	token := fmt.Sprintf("%x", time.Now().UnixNano())
	return token
}