<jupyter_start><jupyter_text>Notebook demonstrating creating a new account that is registered with the system. This will generate a QR code that the user must add to an authenticator<jupyter_code>from Acquire.Client import User<jupyter_output><empty_output><jupyter_text>Create a user account with a username that you want...<jupyter_code>user = User("USERNAME")<jupyter_output><empty_output><jupyter_text>Now ask the system to register a user with this name, with a password that you will supply...<jupyter_code>(uri, qrcode) = user.register("PASSWORD")<jupyter_output><empty_output><jupyter_text>Now view the QR code so that it can be loaded into an authenticator, e.g. google-authenticator<jupyter_code>qrcode<jupyter_output><empty_output><jupyter_text>You can also get the URI directly if you need to enter this manually...<jupyter_code>print(uri)<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup