修复显示证书创建者
This commit is contained in:
parent
f329def763
commit
dac0655cff
2
app.py
2
app.py
@ -883,7 +883,7 @@ def certificate_detail(cert_id):
|
|||||||
# 获取CA信息
|
# 获取CA信息
|
||||||
ca = get_ca_by_id(cert['ca_id'])
|
ca = get_ca_by_id(cert['ca_id'])
|
||||||
|
|
||||||
return render_template('certificate_detail.html', cert=cert, ca=ca)
|
return render_template('certificate_detail.html', cert=cert, ca=ca, get_username=get_username)
|
||||||
|
|
||||||
|
|
||||||
@app.route('/certificates/<int:cert_id>/revoke', methods=['GET', 'POST'])
|
@app.route('/certificates/<int:cert_id>/revoke', methods=['GET', 'POST'])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user