Compare commits
1 Commits
master
...
fix-gitea-
Author | SHA1 | Date |
---|---|---|
|
cb6bcf8754 |
|
@ -114,7 +114,7 @@ class BillingTest(TestCase):
|
|||
all(
|
||||
[
|
||||
instance_notificaiton.to[0] == self.email,
|
||||
"Congratulations on your new Gitea instance!"
|
||||
"Congratulations on your new Hostea instance!"
|
||||
in instance_notificaiton.body,
|
||||
]
|
||||
),
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
Hello {{ username }},
|
||||
|
||||
Congratulations on your new Gitea instance!
|
||||
Congratulations on your new Hostea instance!
|
||||
|
||||
Your Hostea instance is being prepared, you will receive an email
|
||||
notification when it is ready.
|
||||
|
||||
You can use the following credentials to log into an admin account on
|
||||
your new Gitea instance. Great powers come with great responsibilities,
|
||||
so use the admin credentials wisely. When in doubt, consult the Gitea
|
||||
docs or contact support!
|
||||
your new Hostea Gitea instance. Great powers come with great
|
||||
responsibilities, so use the admin credentials wisely. When in doubt,
|
||||
consult the Gitea docs or contact support!
|
||||
|
||||
- username : root
|
||||
- password: {{ gitea_password }}
|
||||
|
|
|
@ -69,7 +69,7 @@ def create_instance(request, instance_name: str):
|
|||
sender = settings.DEFAULT_FROM_EMAIL
|
||||
|
||||
send_mail(
|
||||
subject="[Hostea] Your Hostea instance is now online!",
|
||||
subject="[Hostea] Gitea admin credentials",
|
||||
message=body,
|
||||
from_email=f"No reply Hostea<{sender}>", # TODO read from settings.py
|
||||
recipient_list=[request.user.email],
|
||||
|
|
Loading…
Reference in New Issue