projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de5cd8
)
No Xnet accounts for main site users (again...).
author
Stéphane Jacob
<sj@m4x.org>
Fri, 4 Nov 2011 09:11:30 +0000
(10:11 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Fri, 4 Nov 2011 09:12:03 +0000
(10:12 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/xnetgrp.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/xnetgrp.php
b/modules/xnetgrp.php
index
e70899a
..
2d523ee
100644
(file)
--- a/
modules/xnetgrp.php
+++ b/
modules/xnetgrp.php
@@
-917,7
+917,7
@@
class XnetGrpModule extends PLModule
$user = User::getSilent($email);
// Wrong email and no user: failure.
- if (is_null($user) &&
!$is_valid_email
) {
+ if (is_null($user) &&
(!$is_valid_email || !User::isForeignEmailAddress($email))
) {
$page->trigError('« <strong>' . $email . '</strong> » n\'est pas une adresse email valide.');
return;
}