photoprism/internal/session/id.go
Michael Mayer f5a8c5a45d Auth: Session and ACL enhancements #98 #1746
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 09:01:17 +02:00

10 lines
173 B
Go

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