login">
                    <div class="form-floating">
                        <input type="password" class="form-control" id="password" name="password" placeholder="密码" required>
                        <label for="password">密码</label>
                    </div>
                    
                    <!-- 隐藏的重定向字段 -->
                    {{ if .redirect }}
                    <input type="hidden" name="redirect" value="{{ .redirect }}">
                    {{ end }}
             