mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-09 01:26:53 +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=..
|
||||
* with the request to match the password or set to false to disable.
|
||||
* Passwords are only used together with the options for remote download
|
||||
* and aliasing.
|
||||
*
|
||||
* Create a passwords like this, depending on the type used:
|
||||
* text: 'my_password'
|
||||
* md5: md5('my_password')
|
||||
* hash: password_hash('my_password', PASSWORD_DEFAULT)
|
||||
*
|
||||
* Default values.
|
||||
* password_always: false // do not always require password,
|
||||
* password: false // as in do not use password
|
||||
* password_type: 'text' // use plain password, not encoded,
|
||||
*/
|
||||
* Use password to protect from missusage, send &pwd=... or &password=..
|
||||
* with the request to match the password or set to false to disable.
|
||||
* Passwords are only used together with options for remote download
|
||||
* and aliasing.
|
||||
*
|
||||
* Create a passwords like this, depending on the type used:
|
||||
* text: 'my_password'
|
||||
* md5: md5('my_password')
|
||||
* hash: password_hash('my_password', PASSWORD_DEFAULT)
|
||||
*
|
||||
* Default values.
|
||||
* password_always: false // do not always require password,
|
||||
* password: false // as in do not use password
|
||||
* password_type: 'text' // use plain password, not encoded,
|
||||
*/
|
||||
//'password_always' => false, // always require password,
|
||||
//'password' => false, // "secret-password",
|
||||
//'password_type' => 'text', // supports 'text', 'md5', 'hash',
|
||||
|
Reference in New Issue
Block a user