From 17dd18c68a5a1298905fb6417d52e8880eb33b04 Mon Sep 17 00:00:00 2001 From: Ravi Dwivedi <ravi@anche.no> Date: Mon, 16 Jan 2023 18:28:22 +0530 Subject: [PATCH] Document how to create new accounts. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 591a47f..49c1741 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,18 @@ PravServer is a fork of [QuicksyServer](https://github.com/inputmice/QuicksyServer). QuicksyServer is the backend of the [Quicksy](https://quicksy.im)-App that handles both registration of new users (verified by SMS) and phone number to Jabber ID discovery. +## Creating accounts on Prav Server + +ssh into the server and open the file `/etc/quicksy-accounts.csv` + +Add the phone number of the account holder and write a six-digit number after inserting a comma next to the phone number at the end of the file. + +Just save the file and run + +`systemctl restart quicksy` + +Now ask the person to register using prav app and provide them with the 6 digit OTP you added to the csv file above. + ## HTTP API The HTTP API is responsible for registration, password resets and SMS verification. As far as the app is concerned initial registration and password reset behave exactly the same. -- GitLab