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>
|
||||
|
||||
Reference in New Issue
Block a user