name: Proxy Login
slug: proxy-login
type: plugin
version: 0.1.0
description: Login user using reverse proxy header.
icon: plug
author:
  name: Emmanuel
  email: immanuel@onyeka.ca
homepage: https://github.com/emmanuel/grav-plugin-proxy-login
demo: http://demo.yoursite.com
keywords: grav, plugin, etc
bugs: https://github.com/emmanuel/grav-plugin-proxy-login/issues
docs: https://github.com/emmanuel/grav-plugin-proxy-login/blob/develop/README.md
license: MIT

dependencies:
  - { name: grav, version: '>=1.6.0' }

form:
  validation: loose
  fields:
    enabled:
      type: toggle
      label: PLUGIN_ADMIN.PLUGIN_STATUS
      highlight: 1
      default: 0
      options:
        1: PLUGIN_ADMIN.ENABLED
        0: PLUGIN_ADMIN.DISABLED
      validate:
        type: bool
    text_var:
      type: text
      label: PLUGIN_PROXY_LOGIN.TEXT_VARIABLE
      help: PLUGIN_PROXY_LOGIN.TEXT_VARIABLE_HELP
