From ebfad2f416f406798dce1e8fcc0c5b6058d78541 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Tue, 22 Feb 2022 21:36:48 +0800 Subject: Update config, remove credentials Credentials accidentally committed earlier are disabled. --- config.ini | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/config.ini b/config.ini index 727d345..b946d5b 100644 --- a/config.ini +++ b/config.ini @@ -5,13 +5,18 @@ due_hours = 72 accept_new_users = false [security] -secret_key = 13ec4b0c6f7402d2e8203a8965d198c84ee49aa5429cf8b92743d86c94b0e4d5 +secret_key = SECRET_KEY [jform] -takeaway_url = https://wj.sjtu.edu.cn/api/v1/public/export/900e25bf6a039da04da7c5165a7cd41a/json -giveback_url = https://wj.sjtu.edu.cn/api/v1/public/export/88120dc3f75e592ab89a974975fb011c/json +takeaway_url = https://wj.sjtu.edu.cn/api/v1/public/export/HEX/json +giveback_url = https://wj.sjtu.edu.cn/api/v1/public/export/HEX/json bookmark_dir = bookmarks -[logging] -log_path = logs/app.log -admin_log_path = logs/admin.log +[sms] +# acquire from Aliyun +access_key_id = ACCESS_KEY_ID +access_key_secret = ACCESS_KEY_SECRET +signature = JIBelief +template_borrow_success = SMS_********* +template_return_success = SMS_********* +template_remind_overdue = SMS_********* -- cgit v1.2.3