Password management system for the server

Source:

Methods

(inner) changePassword(db, id, oldPass, newPass) → {Promise}

Parameters:
Name Type Description
db function
id string
oldPass string
newPass string
Source:
Returns:
Type
Promise

(inner) createPassword(db, id, newPass) → {Promise}

Parameters:
Name Type Description
db function
id string
newPass string
Source:
Returns:
Type
Promise

(inner) verify(db, id, password) → {Promise}

Parameters:
Name Type Description
db function
id string
password string
Source:
Returns:
Type
Promise