fix: 修复配置文件和登录页面安全问题
更新数据库和SMTP密码配置,移除敏感信息 移除登录页面的错误提示弹窗,改为注释 在应用审核页面添加审核规则提示链接
This commit is contained in:
@@ -122,7 +122,7 @@ if (!isset($_SESSION['admin'])) {
|
||||
<div class="card blur-bg">
|
||||
<div class="card-header">管理员登录</div>
|
||||
<div class="card-body">
|
||||
<?php if (isset($error)): ?>
|
||||
<!-- <?php if (isset($error)): ?>
|
||||
<script>
|
||||
Swal.fire({
|
||||
icon: "error",
|
||||
@@ -130,7 +130,7 @@ if (!isset($_SESSION['admin'])) {
|
||||
text: "<?php echo addslashes($error); ?>",
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?> -->
|
||||
<form method="post">
|
||||
<div class="form-floating mb-3">
|
||||
<input type="text" class="form-control" id="username" name="username" required>
|
||||
|
||||
@@ -186,6 +186,9 @@ if (!($conn instanceof mysqli)) {
|
||||
</nav>
|
||||
|
||||
<div class="container mt-4">
|
||||
<div class="alert alert-info">
|
||||
请遵循应用商店的<a href="/docs/app_review_standards.php" target="_blank">审核规则</a>,确保应用符合平台要求。
|
||||
</div>
|
||||
<?php if (!empty($success)): ?>
|
||||
<div class="alert alert-success"><?php echo $success; ?></div>
|
||||
<?php endif; ?>
|
||||
@@ -321,7 +324,7 @@ function showRejectReason(appId, appName) {
|
||||
<!-- Bootstrap JS with Popper -->
|
||||
<script src="/js/bootstrap.bundle.js"></script>
|
||||
<!-- SweetAlert2 JS -->
|
||||
<script src="/js/sweetalert.js/dist/sweetalert2.all.min.js"></script>
|
||||
<script src="/js/sweetalert.js"></script>
|
||||
<script>
|
||||
function confirmLogout() {
|
||||
Swal.fire({
|
||||
|
||||
Reference in New Issue
Block a user