mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
* Password: when using accounts stored in sql, and smtp is of emailadmin_smtp_sql (server must support this, and must be implemented that way) we do change passwords for mailaccounts as well, even the account is stored in sql, as the egroupware database is auth base for the mailserver
This commit is contained in:
parent
6c03b0ec39
commit
666f4f0162
@ -55,8 +55,16 @@ class uipassword
|
||||
|
||||
if($GLOBALS['egw_info']['server']['auth_type'] != 'ldap')
|
||||
{
|
||||
$GLOBALS['egw']->template->set_var('sql_message',lang('note: This feature does *not* change your email password. This will '
|
||||
. 'need to be done manually.'));
|
||||
$smtpClassName = 'defaultsmtp';
|
||||
if (($default_profile_id = emailadmin_bo::getDefaultProfileID()))
|
||||
{
|
||||
$bofelamimail = felamimail_bo::forceEAProfileLoad($default_profile_id);
|
||||
//fetch the smtpClass
|
||||
//_debug_array($bofelamimail->ogServer);
|
||||
$smtpClassName = get_class($bofelamimail->ogServer);
|
||||
}
|
||||
$GLOBALS['egw']->template->set_var('sql_message',($smtpClassName!='emailadmin_smtp_sql'?lang('note: This feature does *not* change your email password. This will '
|
||||
. 'need to be done manually.'):''));
|
||||
}
|
||||
|
||||
if($_POST['change'])
|
||||
|
Loading…
Reference in New Issue
Block a user