fix: 确保默认Admin账户存在且登录用户名不区分大小写
This commit is contained in:
11
app/templates/admin/change_password.html
Normal file
11
app/templates/admin/change_password.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}修改密码{% endblock %}
|
||||
{% block content %}
|
||||
<h3 class="mb-3">首次登录请修改管理员密码</h3>
|
||||
<form class="card p-3" method="post">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
|
||||
<div class="mb-3"><label class="form-label">新密码</label><input class="form-control" name="password" type="password" required></div>
|
||||
<div class="mb-3"><label class="form-label">确认密码</label><input class="form-control" name="confirm" type="password" required></div>
|
||||
<button class="btn btn-brand" type="submit">保存</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user