From 3176e54044c5b488645ea94c0c09ffe596dc0d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Garrido=20Labrador?= Date: Sun, 21 Oct 2018 21:45:26 +0200 Subject: [PATCH] Domails repair --- Source/src/domails.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/src/domails.php b/Source/src/domails.php index e0c766a..0f2fb17 100644 --- a/Source/src/domails.php +++ b/Source/src/domails.php @@ -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 = "

Wellcome to CodeShare $nick, the distribution platform for code fragments

-

To confirm your account please, click in the next link: https://codeshare.jkanetwork.com/$url

"; + $correo = "

Wellcome $nick to CodeShare, the distribution platform for code fragments

+

To confirm your account please, click in the next link: https://codeshare.jkanetwork.com$url

"; 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 = "

Someone requested that the password be reset for you

If this was a mistake, just ignore this email and nothing will happen.

-

To restore your password please, click in the next link: https://codeshare.jkanetwork.com/$url

"; +

To restore your password please, click in the next link: https://codeshare.jkanetwork.com$url

"; mail($to,"Restore password to $nick",$correo,$header); } \ No newline at end of file