Skip to content
Snippets Groups Projects
Select Git revision
  • c95babb5c34b44534d3645c56c92f524d067b816
  • master default
  • php8.2-docker-services
  • 6.x
  • laminas
  • bertrand.gauthier-master-patch-70311
  • bertrand.gauthier-master-patch-87168
  • laminas_migration
  • sqlite
  • 4.0.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 1.0.1
  • 1.0.0
16 results

composer.phar

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    unicaen-auth.global.php.dist 1.15 KiB
    <?php
    /**
     * UnicaenAuth Global Configuration
     *
     * If you have a ./config/autoload/ directory set up for your project, you can
     * drop this config file in it and change the values as you wish.
     */
    $settings = array(
        'bjyauthorize' => array(
            // default role for unauthenticated users
            'default_role' => false,
        ),
        /**
         * Mot de passe sésame, chiffré avec l'algo Bcrypt
         * $bcrypt = new \Zend\Crypt\Password\Bcrypt(); 
         * echo $bcrypt->create('votreMotDePasseSesame');
         */
        'sesame_password' => false,
        /**
         * Flag indiquant si l'utilisateur authenitifié avec succès via l'annuaire LDAP doit
         * être enregistré/mis à jour dans la table des utilisateurs de l'appli.
         */
        'save_ldap_user_in_database' => false,
        /**
         * Enable registration
         * Allows users to register through the website.
         * Accepted values: boolean true or false
         */
        'enable_registration' => false,
    );
    
    /**
     * You do not need to edit below this line
     */
    return array(
        'unicaen-auth' => $settings,
        'zfcuser'      => array(
            $k='enable_registration' => isset($settings[$k]) ? $settings[$k] : false,
        ),
    );