typedb / typedb-console

TypeDB Console: CLI for TypeDB and TypeDB Cluster
https://typedb.com
Mozilla Public License 2.0
7 stars 16 forks source link

Prompt a re-login when users change their own passwords #201

Closed jamesreprise closed 1 year ago

jamesreprise commented 1 year ago

What is the goal of this PR?

Console now quits upon a user changing their own password, rather than having a user be left in a session with invalid credentials (which they will only discover on running subsequent commands).

Fixes: #200

What are the changes implemented in this PR?

We've added checks to determine whether password sets and updates were successful, and if so, prompt the user to log in again before quitting.

typedb-bot commented 1 year ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture