chpasswd

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Store  UserStore
	Doer   db.Doer
	LN     *common.LeftNav
	Global *common.Global
}

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Changes user's password. This page must do nothing but change user's password. Caution: This page gets full access to user data store regardless of logged in user's permissions.

type UserStore

type UserStore interface {
	findb.UserByIdRunner
	findb.UpdateUserRunner
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL