qa-plugin.php 1.02 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<?php

/*
  Plugin Name: Cooperatic Odoo thru Django auth
  Plugin Description: Allows Odoo cooperative members to connect
  Plugin URI: https://gl.cooperatic.fr
  Plugin Update Check URI: https://gl.cooperatic.fr
  Plugin Version: 0.1
  Plugin Date: 2022-06-01
  Plugin Author: fracolo
  Plugin License: Free
  Plugin Minimum Question2Answer Version: 1.4
*/

error_reporting(E_ALL);

// don't allow this page to be requested directly from browser
if (!defined('QA_VERSION')) {
	header('Location: ../../');
	exit;
}

qa_register_plugin_module('login','django-odoo-login.php','django_odoo_login','Cooperatic Odoo thru Django Login');
qa_register_plugin_layer('django-odoo-login-layer.php','Cooperatic Odoo thru Django Login Layer');
qa_register_plugin_module('page','django-odoo-login-logout-page.php','django_odoo_logout_process','Cooperatic Odoo thru Django Logout Process');
//qa_register_plugin_module('module', 'ldap-login-admin-form.php', 'ldap_login_admin_form', 'LDAP Login');

/*
  Omit PHP closing tag to help avoid accidental output
*/