mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
fixed handling of @'s in user-names
This commit is contained in:
parent
8da9e0fa41
commit
e03ae3acdd
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare *
|
||||
* http://www.phpgroupware.org *
|
||||
* Written by Dan Kuykendall <seek3r@phpgroupware.org> *
|
||||
* eGroupWare login *
|
||||
* http://www.egroupware.org *
|
||||
* Originaly written by Dan Kuykendall <seek3r@phpgroupware.org> *
|
||||
* Joseph Engo <jengo@phpgroupware.org> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
@ -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'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user