PHP Classes

File: config/auth.php

Recommend this page to a friend!
  Packages of Luke Towers   Winter   config/auth.php   Download  
File: config/auth.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Winter
Content management system that uses MVC
Author: By
Last change:
Date: 8 months ago
Size: 1,276 bytes
 

Contents

Class file image Download
<?php

return [
   
'throttle' => [

       
/*
        |--------------------------------------------------------------------------
        | Enable throttling of Backend authentication attempts
        |--------------------------------------------------------------------------
        |
        | If set to true, users will be given a limited number of attempts to sign
        | in to the Backend before being blocked for a specified number of minutes.
        |
        */

       
'enabled' => true,

       
/*
        |--------------------------------------------------------------------------
        | Failed Authentication Attempt Limit
        |--------------------------------------------------------------------------
        |
        | Number of failed attempts allowed while trying to authenticate a user.
        |
        */

       
'attemptLimit' => 5,

       
/*
        |--------------------------------------------------------------------------
        | Suspension Time
        |--------------------------------------------------------------------------
        |
        | The number of minutes to suspend further attempts on authentication once
        | the attempt limit is reached.
        |
        */

       
'suspensionTime' => 15,
    ],
];