mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-14 17:11:34 +01:00
Domails repair
This commit is contained in:
@@ -8,8 +8,8 @@ function newUser($email,$nick,$token){
|
||||
$header .= "Content-Type: text/html; charset=UTF-8";
|
||||
$to = $email;
|
||||
$url = $app['url_generator']->generate('confirm',array('nick'=>$nick,'token'=>$token));
|
||||
$correo = "<p>Wellcome to CodeShare $nick, the distribution platform for code fragments</p>
|
||||
<p>To confirm your account please, click in the next link: <a href='https://codeshare.jkanetwork.com/$url'>https://codeshare.jkanetwork.com/$url</a></p>";
|
||||
$correo = "<p>Wellcome $nick to CodeShare, the distribution platform for code fragments</p>
|
||||
<p>To confirm your account please, click in the next link: <a href='https://codeshare.jkanetwork.com$url'>https://codeshare.jkanetwork.com$url</a></p>";
|
||||
mail($to,"Confirm account to $nick",$correo,$header);
|
||||
}
|
||||
|
||||
@@ -23,6 +23,6 @@ function restorePassword($email,$nick,$token,$timestamp){
|
||||
$url = $app['url_generator']->generate('restorePass',array('nick'=>$nick,'token'=>$token,'timestamp' => $timestamp));
|
||||
$correo = "<p>Someone requested that the password be reset for you</p>
|
||||
<p>If this was a mistake, just ignore this email and nothing will happen.</p>
|
||||
<p>To restore your password please, click in the next link: <a href='https://codeshare.jkanetwork.com/$url'>https://codeshare.jkanetwork.com/$url</a></p>";
|
||||
<p>To restore your password please, click in the next link: <a href='https://codeshare.jkanetwork.com$url'>https://codeshare.jkanetwork.com$url</a></p>";
|
||||
mail($to,"Restore password to $nick",$correo,$header);
|
||||
}
|
||||
Reference in New Issue
Block a user