diff --git a/admin/inc/class.admin_mail.inc.php b/admin/inc/class.admin_mail.inc.php index a590a7451a..4db3bd35b2 100644 --- a/admin/inc/class.admin_mail.inc.php +++ b/admin/inc/class.admin_mail.inc.php @@ -231,7 +231,7 @@ class admin_mail // supported oauth providers if (($oauth = OpenIDConnectClient::providerByDomain($content['acc_imap_username']))) { - $content['output'] = lang('Using IMAP:%1, SMTP:%2, OAUTH:%3:', $oauth['imap'], $oauth['smtp'], $oauth['provider'])."\n"; + $content['output'] .= lang('Using IMAP:%1, SMTP:%2, OAUTH:%3:', $oauth['imap'], $oauth['smtp'], $oauth['provider'])."\n"; $hosts[$oauth['imap']] = true; $content['acc_smpt_host'] = $oauth['smtp']; $content['acc_sieve_enabled'] = false; diff --git a/admin/lang/egw_de.lang b/admin/lang/egw_de.lang index e27e2d8cb8..416105f742 100644 --- a/admin/lang/egw_de.lang +++ b/admin/lang/egw_de.lang @@ -975,8 +975,8 @@ users can define their own identities admin de Anwender können ihre eigenen Ide users can define their own signatures admin de Anwender können ihre eigenen Signaturen definieren users can utilize these stationery templates admin de Benutzer können diese Briefpapiervorlagen verwenden users choice admin de Benutzerauswahl -using data from mozilla ispdb for provider %1 admin de Benutzer Mozilla ISPDB für Provider %1 -using imap:%1, smtp:%2, oauth:%3: admin de Benutzer IMAP: %1, SMTP: %2, OAuth: %3: +using data from mozilla ispdb for provider %1 admin de Benutze Mozilla ISPDB für Provider %1 +using imap:%1, smtp:%2, oauth:%3: admin de Benutze IMAP: %1, SMTP: %2, OAuth: %3: vacation messages with start- and end-date require an admin account to be set admin de Abwesenheitsnotizen mit Start- und Enddatum benötigen einen gesetzten Administrator Benutzer! vacation notice admin de Abwesenheitsnotiz value for column %1 is not unique! admin de Wert für die Spalte %1 ist nicht eindeutig! diff --git a/api/src/Auth/OpenIDConnectClient.php b/api/src/Auth/OpenIDConnectClient.php index a13ccf912a..ec7437859e 100644 --- a/api/src/Auth/OpenIDConnectClient.php +++ b/api/src/Auth/OpenIDConnectClient.php @@ -51,7 +51,7 @@ class OpenIDConnectClient extends \Jumbojett\OpenIDConnectClient * @var array[] email-regexp => [imap-host, smtp-host, oauth-provider, client-id, client-secret, scopes] pairs */ public static $oauth_domain_regexps = [ - '/(^|@)([^.]\.onmicrosoft\.com)$/i' => ['outlook.office365.com', 'smtp.office365.com', 'login.microsoftonline.com/$2', + '/(^|@)([^.]+\.onmicrosoft\.com)$/i' => ['outlook.office365.com', 'smtp.office365.com', 'login.microsoftonline.com/$2', 'e09fe57b-ffc5-496e-9ef8-3e6c7d628c09', 'Hd18Q~t-8_-ImvPFXlh8DSFjWKYyvpUTqURRJc7i', 'https://outlook.office.com/IMAP.AccessAsUser.All https://outlook.office.com/POP.AccessAsUser.All https://outlook.office.com/SMTP.Send offline_access email', [self::ADD_CLIENT_TO_WELL_KNOWN => 'appid']],