Welcome Guest, Not a member yet? Register   Sign In
Shield auth several problem
#1

(This post was last modified: 02-05-2024, 01:33 PM by pippuccio76.)

hi , when i try to use shield email i have this code in my yahoo mail :

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<head>
    <meta name="x-apple-disable-message-reformatting">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="format-detection" content="telephone=no, date=no,
address=no, email=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Il tuo Login Link</title>
</head>

<body>
    <table role="presentation" border="0" cellpadding="0" cellspacing="0"
style="border-radius: 6px; border-collapse: separate !important;">
        <tbody>
            <tr>
                <td style="line-height: 24px; font-size: 16px;
border-radius: 6px; margin: 0;" align="center" bgcolor="#0d6efd">
                    <a
href="http://localhost:8080/index.php/login/verify-magic-link?token=6682096c7cd6013651b1"
style="color: #ffffff; font-size: 16px; font-family: Helvetica, Arial,
sans-serif; text-decoration: none; border-radius: 6px; line-height: 20px;
display: inline-block; font-weight: normal; white-space: nowrap;
background-color: #0d6efd; padding: 8px 12px; border: 1px solid
#0d6efd;">Login</a>
                </td>
            </tr>
        </tbody>
    </table>
    <table role="presentation" border="0" cellpadding="0" cellspacing="0"
style="width: 100%;" width="100%">
        <tbody>
            <tr>
                <td style="line-height: 20px; font-size: 20px; width: 100%;
height: 20px; margin: 0;" align="left" width="100%" height="20">
                   
                </td>
            </tr>
        </tbody>
    </table>
    <b>Alcune informazioni sulla persona:</b>
    <p>Indirizo IP: 127.0.0.1</p>
    <p>Dispositivo: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36</p>
    <p>Data: 2024-02-05 20:23:40</p>
</body>

</html>


Other  problem :
  • if i use email instead of smtp the mail does't are send
  • if i click on link i doesn't redirect on change password
Reply
#2

Quote:use shield email i have this code in my yahoo mail

It seems that your email settings are not done correctly. Don't forget to set   

PHP Code:
/**
* Type of mail, either 'text' or 'html'
*/
public string $mailType 'html'

to send as HTML. Also change it to production .env if you are in development mode.

Quote:if i use email instead of smtp the mail does't are send

Your email settings should be as follows:
https://gist.github.com/datamweb/0283c42...d4a97fe2bb

Quote:if i click on link i doesn't redirect on change password

Shield does not provide the possibility to change the password by default. You have to implement this yourself by magiclogin Or session-notification.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB