Update.
This commit is contained in:
@@ -172,7 +172,7 @@ The MyWebdav Team
|
||||
"""
|
||||
queue_email(
|
||||
to_email=invoice.user.email,
|
||||
subject=f"Your RBox Invoice {invoice.invoice_number}",
|
||||
subject=f"Your MyWebdav Invoice {invoice.invoice_number}",
|
||||
body=body,
|
||||
html=html
|
||||
)
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ async def read_root():
|
||||
return f.read()
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Run the RBox application.")
|
||||
parser = argparse.ArgumentParser(description="Run the MyWebdav application.")
|
||||
parser.add_argument("--host", type=str, default="0.0.0.0", help="Host address to bind to")
|
||||
parser.add_argument("--port", type=int, default=8000, help="Port to listen on")
|
||||
args = parser.parse_args()
|
||||
|
||||
@@ -112,7 +112,7 @@ async def setup_two_factor_authentication(current_user: User = Depends(get_curre
|
||||
current_user.two_factor_secret = secret
|
||||
await current_user.save()
|
||||
|
||||
totp_uri = generate_totp_uri(secret, current_user.email, "RBox")
|
||||
totp_uri = generate_totp_uri(secret, current_user.email, "MyWebdav")
|
||||
qr_code_base64 = generate_qr_code_base64(totp_uri)
|
||||
|
||||
recovery_codes = generate_recovery_codes()
|
||||
|
||||
Reference in New Issue
Block a user