mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-01 13:32:31 +02:00
disable default users.
This commit is contained in:
parent
4e691261a8
commit
035df01299
|
@ -28,14 +28,14 @@ $use_auth = true;
|
||||||
// Users: array('Username' => 'Password', 'Username2' => 'Password2', ...)
|
// Users: array('Username' => 'Password', 'Username2' => 'Password2', ...)
|
||||||
// Generate secure password hash - https://tinyfilemanager.github.io/docs/pwd.html
|
// Generate secure password hash - https://tinyfilemanager.github.io/docs/pwd.html
|
||||||
$auth_users = array(
|
$auth_users = array(
|
||||||
'admin' => '$2y$10$/K.hjNr84lLNDt8fTXjoI.DBp6PpeyoJ.mGwrrLuCZfAwfSAGqhOW', //admin@123
|
// 'admin' => '$2y$10$/K.hjNr84lLNDt8fTXjoI.DBp6PpeyoJ.mGwrrLuCZfAwfSAGqhOW', //admin@123
|
||||||
'user' => '$2y$10$Fg6Dz8oH9fPoZ2jJan5tZuv6Z4Kp7avtQ9bDfrdRntXtPeiMAZyGO' //12345
|
// 'user' => '$2y$10$Fg6Dz8oH9fPoZ2jJan5tZuv6Z4Kp7avtQ9bDfrdRntXtPeiMAZyGO' //12345
|
||||||
);
|
);
|
||||||
|
|
||||||
// Readonly users
|
// Readonly users
|
||||||
// e.g. array('users', 'guest', ...)
|
// e.g. array('users', 'guest', ...)
|
||||||
$readonly_users = array(
|
$readonly_users = array(
|
||||||
'user'
|
// 'user'
|
||||||
);
|
);
|
||||||
|
|
||||||
// Enable highlight.js (https://highlightjs.org/) on view's page
|
// Enable highlight.js (https://highlightjs.org/) on view's page
|
||||||
|
|
Loading…
Reference in a new issue