{% extends "base.html" %} {% block title %}Config · {{ app_name }}{% endblock %} {% block content %}

Configuration

Config

{% if force_password_change %}
首次登录后需要先修改密码。完成后再继续长期使用当前配置页面。
{% endif %} {% if password_change_error %}
{{ password_change_error }}
{% endif %} {% if config_error %}
{{ config_error }}
{% endif %} {% if config_saved %}
config saved to the app database. Some changes may require an app restart.
{% endif %} {% if ticktick_oauth_error %}
{{ ticktick_oauth_error }}
{% endif %} {% if ticktick_oauth_notice %}
{{ ticktick_oauth_notice }}
{% endif %} {% if smtp_test_error %}
{{ smtp_test_error }}
{% endif %} {% if smtp_test_notice %}
{{ smtp_test_notice }}
{% endif %}
当前用户
admin

Change Password

Config

{% for section in config_sections %}
{{ section.name }} {% for field in section.fields %} {% endfor %} {% if section.name == "TickTick" %}

TickTick OAuth

Redirect URI: {{ ticktick_redirect_uri or "configure APP_HOSTNAME to generate the callback URI" }}

{% if ticktick_oauth_ready %}

Use the saved TickTick client settings to start the authorization flow.

{% else %}

Fill in App Hostname, TickTick Client ID, and TickTick Client Secret before starting OAuth.

{% endif %}
{% if ticktick_oauth_ready %} Authorize TickTick {% else %} Authorize TickTick {% endif %}
{% endif %} {% if section.name == "SMTP" %}

SMTP Test Email

Save the SMTP settings first, then send a simple plaintext test email to the configured recipient.

{% if smtp_test_ready %} {% else %} Send SMTP Test {% endif %}
{% endif %}
{% endfor %}
{% endblock %}