Second implementation with matrix_synapse_rest_auth #2

Merged
krombel merged 51 commits from second_implementation into master 2018-03-19 13:57:16 +01:00
Showing only changes of commit 83cf11149b - Show all commits

View File

@@ -31,7 +31,7 @@ foreach ($db->query($sql) as $row) {
$row["verify_url"]); $row["verify_url"]);
if ($success) { if ($success) {
$db->exec("UPDATE registrations SET state = " . RegisterState::PendingEmailVerify) $db->exec("UPDATE registrations SET state = " . RegisterState::PendingEmailVerify
. " WHERE id = " . $row["id"] . ";"); . " WHERE id = " . $row["id"] . ";");
} else { } else {
throw new Exception("Could not send mail to ".$row["first_name"]." ".$row["last_name"]."(".$row["id"].")"); throw new Exception("Could not send mail to ".$row["first_name"]." ".$row["last_name"]."(".$row["id"].")");