@pockethost/plugin-local-auth
v0.0.1
Published
A pockethost plugin.
Downloads
3
Readme
plugin-local-auth
A plugin for pockethost.
This plugin implements a local user auth database.
Quickstart
Install
npx pockethost plugin install @pockethost/plugin-local-auth
Get help
npx pockethost local-auth --help
Create user/admin
npx pockethost local-auth create [email protected] myPassword
npx pockethost local-auth create [email protected] myPassword --admin
Delete user
npx pockethost local-auth delete [email protected]
List users
npx pockethost local-auth ls
Variables
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.