0.0.1 • Published 2 years ago
@pockethost/plugin-local-auth v0.0.1
plugin-local-auth
A plugin for pockethost.
This plugin implements a local user auth database.
Quickstart
Install
npx pockethost plugin install @pockethost/plugin-local-authGet help
npx pockethost local-auth --helpCreate user/admin
npx pockethost local-auth create foo@bar.com myPassword
npx pockethost local-auth create admin@bar.com myPassword --adminDelete user
npx pockethost local-auth delete foo@bar.comList users
npx pockethost local-auth lsVariables
The following variables will be used if they are found in the shell environment. PocketHost will also load them from an .env file if found at load time.
| Name | Default | Discussion |
|---|---|---|
| PH_LOCAL_AUTH_HOME | .pockethost/plugin-local-auth | The home directory for any data storage needs of this plugin. |
Actions
Filters
Related Plugins
local-auth pairs well with:
@pockethost/plugin-ftp-server@pockethost/plugin-auto-admin
Support
PocketHost has a thriving Discord community.
Sponsored by https://pockethost.io. Instantly host your PocketBase projects.
0.0.1
2 years ago