6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/6/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11690] Admin - User Management - adding and deleting do not work
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__. __ \ / __. | || |/ ` >< (__ |__||__|\__./ \.__)
Comment
> Hi, > > I can confirm the bug. In addition: Trying to add a user leads to a > removal of the user from the database, if the username already exists. > > Configuration: > > $conf['auth']['admins'] = array('xxx'); > $conf['auth']['checkip'] = true; > $conf['auth']['checkbrowser'] = true; > $conf['auth']['resetpassword'] = true; > $conf['auth']['alternate_login'] = false; > $conf['auth']['redirect_on_logout'] = false; > $conf['auth']['list_users'] = 'list'; > $conf['auth']['params']['driverconfig'] = 'horde'; > $conf['auth']['params']['encryption'] = 'ssha'; > $conf['auth']['params']['show_encryption'] = false; > $conf['auth']['driver'] = 'sql'; > $conf['auth']['params']['count_bad_logins'] = false; > $conf['auth']['params']['login_block'] = false; > $conf['auth']['params']['login_block_count'] = 5; > $conf['auth']['params']['login_block_time'] = 5; > $conf['signup']['params']['driverconfig'] = 'horde'; > $conf['signup']['driver'] = 'Sql'; > $conf['signup']['approve'] = true; > $conf['signup']['allow'] = true; > > IMHO this bug should have a high priority! > >> Hi, >> >> adding and removing users does not work on the Admin Page. >> seems that some input fields are missing in the add.inc and >> remove.inc template files. >> >> the following changes solve the problem at the first glance, but I >> don't have any ideas about side-effects and so on... >> >> below is a diff against the master branch.hope it helps. >> >> ag >> >> ------------------------------------------------------------ >> >> diff --git a/horde/templates/admin/user/add.inc >> b/horde/templates/admin/user/add.inc >> index a0d42ba..c19ff1e 100644 >> --- a/horde/templates/admin/user/add.inc >> +++ b/horde/templates/admin/user/add.inc >> @@ -1,3 +1,4 @@ >> <?php >> +$vars->set('form', 'add'); >> $renderer = new Horde_Form_Renderer(); >> $addForm->renderActive($renderer, $vars, Horde::selfUrl(), 'post'); >> diff --git a/horde/templates/admin/user/remove.inc >> b/horde/templates/admin/user/remove.inc >> index 35540f5..7745e4e 100644 >> --- a/horde/templates/admin/user/remove.inc >> +++ b/horde/templates/admin/user/remove.inc >> @@ -1,5 +1,6 @@ >> <!--a75c305b1c0a6022--><form name="removeuser" action="<?php echo >> Horde::selfUrl() ?>" >> method="post"> >> <input type="hidden" name="form" value="remove" /> >> +<input type="hidden" name="user_name" value="<?php echo >> htmlspecialchars($f_user_name) ?>" /> >> <?php Horde_Util::pformInput() ?> >> >> <h1 class="header"> >> >> ------------------------------------------------------------ >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers