mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-10 01:56:52 +02:00
Correcting defaults for password
This commit is contained in:
@@ -46,21 +46,21 @@ return array(
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use password to protect from missusage, send &pwd=... or &password=..
|
* Use password to protect from missusage, send &pwd=... or &password=..
|
||||||
* with the request to match the password or set to false to disable.
|
* with the request to match the password or set to false to disable.
|
||||||
* Passwords are only used together with the options for remote download
|
* Passwords are only used together with options for remote download
|
||||||
* and aliasing.
|
* and aliasing.
|
||||||
*
|
*
|
||||||
* Create a passwords like this, depending on the type used:
|
* Create a passwords like this, depending on the type used:
|
||||||
* text: 'my_password'
|
* text: 'my_password'
|
||||||
* md5: md5('my_password')
|
* md5: md5('my_password')
|
||||||
* hash: password_hash('my_password', PASSWORD_DEFAULT)
|
* hash: password_hash('my_password', PASSWORD_DEFAULT)
|
||||||
*
|
*
|
||||||
* Default values.
|
* Default values.
|
||||||
* password_always: false // do not always require password,
|
* password_always: false // do not always require password,
|
||||||
* password: false // as in do not use password
|
* password: false // as in do not use password
|
||||||
* password_type: 'text' // use plain password, not encoded,
|
* password_type: 'text' // use plain password, not encoded,
|
||||||
*/
|
*/
|
||||||
//'password_always' => false, // always require password,
|
//'password_always' => false, // always require password,
|
||||||
//'password' => false, // "secret-password",
|
//'password' => false, // "secret-password",
|
||||||
//'password_type' => 'text', // supports 'text', 'md5', 'hash',
|
//'password_type' => 'text', // supports 'text', 'md5', 'hash',
|
||||||
|
Reference in New Issue
Block a user