Versions in this module Expand all Collapse all v0 v0.6.0 Dec 20, 2022 Changes in this version + func Install(mod string, db *orm.DB) + type Password struct + func New(s *web.Server, prefix orm.Prefix, db *orm.DB) *Password + func (p *Password) Add(tx *orm.Tx, uid int64, identity, pass string) error + func (p *Password) Change(tx *orm.Tx, uid int64, old, pass string) error + func (p *Password) Delete(tx *orm.Tx, uid int64) error + func (p *Password) Identity(uid int64) (string, bool) + func (p *Password) Set(tx *orm.Tx, uid int64, pass string) error + func (p *Password) Valid(identity, pass string) (int64, string, bool)