photoprism/pkg/rnd/password.go

7 lines
124 B
Go
Raw Normal View History

package rnd
// Password returns a random password with 8 characters as string.
func Password() string {
return Token(8)
}