From e03ae3acddba046ec48e37a59a9799f7d3aa926e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 21 Aug 2004 15:22:56 +0000 Subject: [PATCH] fixed handling of @'s in user-names --- login.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/login.php b/login.php index c0acc4bb12..67437824dd 100755 --- a/login.php +++ b/login.php @@ -1,9 +1,9 @@ * - * Joseph Engo * + * eGroupWare login * + * http://www.egroupware.org * + * Originaly written by Dan Kuykendall * + * Joseph Engo * * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * @@ -207,7 +207,7 @@ { $login .= '@' . $_POST['logindomain']; } - elseif(count($GLOBALS['phpgw_domain']) == 1) + elseif(!isset($GLOBALS['phpgw_domain'][$GLOBALS['phpgw_info']['user']['domain']])) { $login .= '@'.$GLOBALS['phpgw_info']['server']['default_domain']; }