File size: 628 Bytes
211843b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

def forgotpasswordemail(email,access_token):
    emailtext = f"""
    <h1 style="color:#264BE4;">RevisionBank</h1>
    <strong>
    Reset Password
    </strong>
    <p >
    Hello {email}
    </p>
    <p>
        A request has been received to change the password for your RevisionBank account.
    </p>
    <a href="https://revisionbank.org/resetpassword?token={access_token}" target="_blank" rel="noopener noreferrer">
    <button style="width:40%;background-color: #264BE4;border: 1px solid #264BE4;border-radius: 10px;">
        <p style="color:white">Reset Password</p>
    </button>
    </a>
    """
    return emailtext