photoprism/internal/session/id.go

11 lines
173 B
Go
Raw Normal View History

package session
import (
"github.com/photoprism/photoprism/pkg/rnd"
)
// ID returns a random 48-character session id string.
func ID() string {
return rnd.SessionID()
}