Skip to content

CLI: Forgot password command

prometheansacrifice requested to merge prometheansacrifice@forgot-password into dev

Motivation and Context

We dont have a recourse for users who may have forgotten their passwords.

Description

This MR adds a CLI command for ligo registry users to reset their password. For security reasons, existing users would need a valid session token already since we dont have their emails. New users dont need this, since we start asking their emails when they create an account with us.

Component

  • compiler
  • website
  • webide
  • vscode-plugin
  • debugger

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Performance improvement (non-breaking change that improves performance)
  • None (change with no changelog)

Changelog

Adds a CLI command for ligo registry users to reset their password.

ligo registry forgot-password

For security reasons, existing users would need a valid session token already since we dont have their emails. The CLI would ask them for their email to send the password reset link. If they don't have a valid session token, they'll have to reach out to support.

New users dont need this, since we start asking their emails when they create an account with us.

Checklist:

  • Documentation has been updated.

Merge request reports