Skip to content

Commit 420bff0

Browse files
committed
fix: 修改默认的用户名
1 parent 2244f35 commit 420bff0

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

archive/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Ensure your firewall allows access to ports 80 (HTTP) and 443 (HTTPS) for the We
8989

9090
## Default Credentials
9191

92-
- **Username:** `admin@webvirt.cloud`
92+
- **Username:** `admin@spiritlhl.net`
9393
- **Password:** `admin`
9494

9595
> **Warning:** It is critical to change the default credentials immediately after the first login to ensure security.

archive/webvirtcloud.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function start_webvirtcloud() {
9292
}
9393

9494
function create_default_admin() {
95-
echo "Creating 'admin@webvirt.cloud' user..."
95+
echo "Creating 'admin@spiritlhl.net' user..."
9696
$DOCKER_COMPOSE_COMMAND exec backend python manage.py loaddata account/fixtures/admin.json
9797
}
9898

scripts/install_webvirt_cloud.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,15 +352,15 @@ EOF
352352
_green "Admin Panel: https://${DOMAIN_NAME}/admin/"
353353
_green "Ensure your firewall allows access to ports 80 (HTTP) and 443 (HTTPS) for the WebVirtCloud interface."
354354
_green "Default Credentials:"
355-
_green "Username: admin@webvirt.cloud"
355+
_green "Username: admin@spiritlhl.net"
356356
_green "Password: admin"
357357
_green "WebVirtCloud安装成功完成!"
358358
_green "您可以通过以下地址访问WebVirtCloud界面"
359359
_green "用户面板: https://${DOMAIN_NAME}"
360360
_green "管理员面板: https://${DOMAIN_NAME}/admin/"
361361
_green "请确保您的防火墙允许访问WebVirtCloud界面的80端口(HTTP)和443端口(HTTPS)。"
362362
_green "默认凭据:"
363-
_green "用户名: admin@webvirt.cloud"
363+
_green "用户名: admin@spiritlhl.net"
364364
_green "密码: admin"
365365
else
366366
_red "WebVirtCloud failed to start. Please check the logs for more information."

webvirtbackend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ docker compose exec backend python3 manage.py loaddata account/fixtures/admin.js
5151
8. Access the admin site:
5252
Open your web browser and go to `http://localhost:8000/admin/`. You can log in with the following credentials:
5353

54-
* Username: `admin@webvirt.cloud`
54+
* Username: `admin@spiritlhl.net`
5555
* Password: `admin`
5656

5757
## Settings ##

webvirtbackend/account/fixtures/admin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"password": "pbkdf2_sha256$390000$EAOpkSlo4PnCGTSIhOOAMy$qznJpj2so2deoJo4yjgDZHmgObHApZgnd2JsGKvEhCI=",
77
"last_login": null,
88
"uuid": "5121fc9a-f841-4288-9474-6bc1730a7816",
9-
"email": "admin@webvirt.cloud",
9+
"email": "admin@spiritlhl.net",
1010
"hash": "NEQJxujnoudu1YBsJyJriLSeqdgGP7VpJtxvLVM3",
1111
"first_name": "Charlie",
1212
"last_name": "Root",

webvirtcompute/src/cert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def gen_self_signed_cert(validity_days=3650):
2424
cert.get_subject().L = "San Francisco"
2525
cert.get_subject().O = "WebVirtCloud"
2626
cert.get_subject().CN = "localhost"
27-
cert.get_subject().emailAddress = "admin@webvirt.cloud"
27+
cert.get_subject().emailAddress = "admin@spiritlhl.net"
2828
cert.set_serial_number(0)
2929
cert.gmtime_adj_notBefore(0)
3030
cert.gmtime_adj_notAfter(validity_days * 24 * 60 * 60)

webvirtfrontend/apps/www/content/docs/installation/setup-controller.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Example for domain: webvirt.local
6262

6363
You can log in with the following credentials:
6464

65-
- Username: `admin@webvirt.cloud`
65+
- Username: `admin@spiritlhl.net`
6666
- Password: `admin`
6767

6868
### Allow custom SSL certificate (optional)

0 commit comments

Comments
 (0)