Bernd Wurst commited on 2012-09-20 04:53:47
Zeige 1 geänderte Dateien mit 5 Einfügungen und 0 Löschungen.
| ... | ... |
@@ -28,6 +28,11 @@ if (isset($_REQUEST['username'])) {
|
| 28 | 28 |
$webmailpw = $_REQUEST['webmailpass']; |
| 29 | 29 |
$ga_code = $_REQUEST['ga_code']; |
| 30 | 30 |
|
| 31 |
+ if (! strstr($username, '@')) {
|
|
| 32 |
+ // Default-Domainname |
|
| 33 |
+ $username = $username.'@'.config('masterdomain');
|
|
| 34 |
+ } |
|
| 35 |
+ |
|
| 31 | 36 |
$success = true; |
| 32 | 37 |
|
| 33 | 38 |
if (! check_webmail_password($username, $webmailpw)) {
|
| 34 | 39 |