Skip to content

LUYA Module to replace the htaccess base auth as it does not work in angular context

Notifications You must be signed in to change notification settings

martinpetrasch/luya-module-basicauth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BASIC AUTH LUYA MODULE

Adds the typical htaccess auth dialog before each request. This module is made as angular does have problems with basic htaccess authentifications in the administration area.

Installation

composer require the luya basic auth module

composer require luyadev/luya-module-basicauth

add the module to your config

'modules' => [
    'basicauth' => [
        'class' => 'basicauth\Module',
        'password' => '<DEFINE_THE_PASSWORD_HERE>',
    ]
],

as this module takes care each before every request you have to bootstrap this module as in the boostrap section of your config:

'boostrap' => [
    'basicauth',
],

Now each request of your luya instance requres the entered password from your configuration files.

About

LUYA Module to replace the htaccess base auth as it does not work in angular context

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%