edit-mailbox.php, templates/edit-mailbox.php:

- revert r482 (show password when editing mailboxes) because it does more
  harm than good (see mailinglist for details).
  Also opened a feature request to bring this back in a way that works for
  everybody:
  https://sourceforge.net/tracker/index.php?func=detail&aid=2332595&group_id=191583&atid=937967


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@485 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 16 years ago
parent 29070cfd59
commit 2a555bcd75

@ -20,7 +20,6 @@
*
* tMessage
* tName
* tPassword
* tQuota
*
* Form POST \ GET Variables:
@ -76,11 +75,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
if ('pgsql'==$CONF['database_type']) {
$tActive = ('t'==$user_details['active']) ? 1 : 0;
}
$tPassword = '';
if ($CONF['show_password'] == "YES")
{
$tPassword = $user_details['password'];
}
$result = db_query ("SELECT * FROM $table_domain WHERE domain='$fDomain'");
if ($result['rows'] == 1)
{

@ -12,7 +12,7 @@
</tr>
<tr>
<td><?php print $PALANG['pEdit_mailbox_password'] . ":"; ?></td>
<td><input class="flat" type="password" name="fPassword" value="<?php print htmlspecialchars ($tPassword,ENT_QUOTES); ?>"/></td>
<td><input class="flat" type="password" name="fPassword" /></td>
<td><?php print $pEdit_mailbox_password_text; ?></td>
</tr>
<tr>

Loading…
Cancel
Save