Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -127,7 +127,11 @@ |
128 | 128 | } |
129 | 129 | |
130 | 130 | if( !$wgAuth->validDomain( $this->mDomain ) ) { |
131 | | - $this->mDomain = 'invaliddomain'; |
| 131 | + if ( isset( $_SESSION['wsDomain'] ) ) { |
| 132 | + $this->mDomain = $_SESSION['wsDomain']; |
| 133 | + } else { |
| 134 | + $this->mDomain = 'invaliddomain'; |
| 135 | + } |
132 | 136 | } |
133 | 137 | $wgAuth->setDomain( $this->mDomain ); |
134 | 138 | |