Page MenuHomewrite.as

Reset password via command-line
Closed, ResolvedPublic

Description

Overview

Support admin resetting user passwords.

Implementation

Add a --reset-pass flag that accepts a username. Prompt for a password (hiding the input), then hash that password and run

db.ChangePassphrase(u.ID, true, "", hashedPass)

Event Timeline

matt triaged this task as High priority.Nov 14 2018, 3:04 PM
matt created this task.
matt created this object with visibility "Public (No Login Required)".
matt moved this task from Far Future to Soon / v1.0 on the WriteFreely board.Nov 14 2018, 3:06 PM