SF.net SVN: postfixadmin:[485] trunk
Brought to you by:
christian_boltz,
gingerdog
|
From: <chr...@us...> - 2008-11-23 12:18:24
|
Revision: 485
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=485&view=rev
Author: christian_boltz
Date: 2008-11-23 12:18:20 +0000 (Sun, 23 Nov 2008)
Log Message:
-----------
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
Modified Paths:
--------------
trunk/edit-mailbox.php
trunk/templates/edit-mailbox.php
Modified: trunk/edit-mailbox.php
===================================================================
--- trunk/edit-mailbox.php 2008-11-22 10:23:36 UTC (rev 484)
+++ trunk/edit-mailbox.php 2008-11-23 12:18:20 UTC (rev 485)
@@ -20,7 +20,6 @@
*
* tMessage
* tName
- * tPassword
* tQuota
*
* Form POST \ GET Variables:
@@ -76,11 +75,7 @@
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)
{
Modified: trunk/templates/edit-mailbox.php
===================================================================
--- trunk/templates/edit-mailbox.php 2008-11-22 10:23:36 UTC (rev 484)
+++ trunk/templates/edit-mailbox.php 2008-11-23 12:18:20 UTC (rev 485)
@@ -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>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|