dwyl / dwyl/abase

validate plugin option

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When the plugin is loaded for the first time we need to check that the options are correct, especially that the link user_schema_path is defined and the file is a json object.
If the schema has't the default properties email and password:
``
{
"email": {"type": "email"},
"password": {"type": "password"},
}

```
initialise the schema with these values and write back the file.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.