Portal password reset template?

templates

#1

Does anybody have portal password reset template?


#2

You can always find default templates on : /var/www/splynx/defaults/


#3

In version 1.3 this template is blank

So I need to know how to generate the check code ?


#4

Hi,
Default template:

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<div>
    <div style="background-color: #1a3f68; padding: 20px 0px;width: 500px;margin: 0 auto;">
        <div style="color: #fff;font-size: 21px;font-family: Arial, sans-serif;line-height: 18px;width: 500px;margin: 0 auto;padding: 0 40px;">
            <a style="text-decoration: none;color: #fff;padding: 17px 0;" href="{{ domain }}">
                {{ loader.values.company_name }}
            </a>
        </div>
    </div>

    <div style="width: 500px;margin: 0 auto;">
        <div style="background-color: #c9e8e0;padding: 30px 50px;font-family: Arial, sans-serif;line-height: 40px;">
            Hello {{ customer.name }}, you have made a request to change the password.
            <br>
            If you do request a password reset, follow the link:
            <div style="background-color: rgb(17, 192, 128);border-radius: 4px;text-align: center;">
                <a href="{{ domain }}/portal/reset-password--set-new-password?code={{ random_code }}"
                   style="text-decoration: none;color: #fff;">Change password</a>
            </div>

            <div style="margin-top: 25px;">
                Or use this code: {{ random_code }}
            </div>

            <div>
                On <a href="{{ domain }}/portal/reset-password--verify-check-code"
                      style="color: #062340 !important;font-weight: bold;">this</a> page.
            </div>

            <div>
                In another case, contact the administration.
            </div>
        </div>
    </div>

</div>
</body>
</html>

#5

Thanks, I managed to find the default templates on my server

Seems many templates are linked to incorrect files inside the GUI and this is why it was coming up missing.

This must have happened from upgrading from 1.2 to 1.3 or during Ubuntu 16.04 upgrade.