-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,24 +89,30 @@ SELECT * FROM public.app_settings; | |
|
||
### How to bypass OTP for a local install? | ||
|
||
You can skip the otp, add or update json key value to the account preference. | ||
To can skip the otp process, add or update the following json key value to the account preference. | ||
```json | ||
"email_valid": true | ||
``` | ||
SQL query | ||
```sql | ||
UPDATE auth.accounts | ||
SET preferences='{"email_valid": true}'::jsonb || preferences | ||
WHERE email='[email protected]'; | ||
``` | ||
|
||
OTP is created and sent by email using a cron in postgres/cron/job. | ||
```sql | ||
SELECT * FROM auth.otp; | ||
``` | ||
|
||
accounts are store in table signalk/auth/accounts | ||
Accounts are store in table signalk/auth/accounts | ||
```sql | ||
SELECT * FROM auth.accounts; | ||
``` | ||
|
||
You should have an history in table signalk/public/process_queue | ||
```sql | ||
select * from public.process_queue; | ||
SELECT * from public.process_queue; | ||
``` | ||
|
||
### How to turn off signups | ||
|