This commit is contained in:
2025-11-13 20:50:03 +01:00
parent 74c9fd82d7
commit 798aa67135
15 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -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
View File
@@ -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()
+1 -1
View File
@@ -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()