mahtab2003 / Xera

Now Introducing a new and easy way to manage your clients and MyOwnFreeHost hosting accounts.
https://xera.eu.org/
GNU General Public License v2.0
48 stars 38 forks source link

Lastest release user email verification show "Invalid activation token". #157

Closed ash3T closed 2 months ago

ash3T commented 3 months ago

hi, Thanks for your continue hard work.

I just installed the latest version 1.3.1.

Tried to register serveral new users, after clicked the linked send to user's email, it says, "Invalid activation token." Please take a look.

itsmerosu commented 3 months ago

Some users are encountering an error on their server. Please check the app/models/mailer.php and change the newline character to <br> This should fix your problem.

santydesignscr commented 3 months ago

hi, Thanks for your continue hard work.

I just installed the latest version 1.3.1.

Tried to register serveral new users, after clicked the linked send to user's email, it says, "Invalid activation token." Please take a look.

A blank space is added due some email configuration, I will share a fix soon

santydesignscr commented 3 months ago

Some users are encountering an error on their server. Please check the app/models/mailer.php and change the newline character to <br> This should fix your problem.

Try that but if it doesn't work don't worry I will share a solution soon

kaitokun24 commented 2 months ago

Just change the newline on /app/models/mailer.php

from 'newline' => "\r\n"to 'newline' => '\r\n'

Screenshot 2024-09-03 at 7 50 46 AM

santydesignscr commented 2 months ago

Just change the newline on /app/models/mailer.php

from 'newline' => "\r\n"to 'newline' => '\r\n'

Screenshot 2024-09-03 at 7 50 46 AM

Yeah that's the solution, will be properly fixed on the next release