mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
related to #2158 update user and guest pop in
- Implementation of a new modal for modifying a user or guest - Addition of a function to allow plugins to add a tab to the new user modal - Fix bug: "badger-number" is updated when a user is added or deleted - Fix bug: When the user who is editing has permissions to delete the user he is modifying, the delete icon is now displayed correctly - Added a new api method for modifying the main user and generating a link to reset a password - Passed $conf[‘webmaster_id’] in database configuration
This commit is contained in:
+1
-1
@@ -387,7 +387,7 @@ INSERT INTO '.$prefixeTable.'config (param,value,comment)
|
||||
// webmaster admin user
|
||||
$inserts = array(
|
||||
array(
|
||||
'id' => 1,
|
||||
'id' => 1, // must be the same value as webmaster_id in config.sql
|
||||
'username' => $admin_name,
|
||||
'password' => md5($admin_pass1),
|
||||
'mail_address' => $admin_mail,
|
||||
|
||||
Reference in New Issue
Block a user