mirror of
https://github.com/humhub/humhub.git
synced 2025-04-21 07:31:53 +02:00
Fix fetchInviteToken regex
This commit is contained in:
parent
aadc743b23
commit
a454436608
@ -27,7 +27,7 @@ class HumHubHelper extends Module
|
||||
}
|
||||
|
||||
$re = [];
|
||||
preg_match('/registration&token=3D([a-zA-Z0-9]*)"/', $mail, $re);
|
||||
preg_match('/registration&token=3D([a-zA-Z0-9]*)/', $mail, $re);
|
||||
|
||||
if(!isset($re[1])) {
|
||||
preg_match('/registration&token=([a-zA-Z0-9]*)/', $mail, $re);
|
||||
|
Loading…
x
Reference in New Issue
Block a user