mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-06-21 10:38:58 +02:00
The function is imported and called consistently with all the others.
This commit is contained in:
@@ -582,8 +582,7 @@ def show_updates():
|
|||||||
@app.route('/system/ssh-public-key')
|
@app.route('/system/ssh-public-key')
|
||||||
@authorized_personnel_only
|
@authorized_personnel_only
|
||||||
def get_ssh_public_key():
|
def get_ssh_public_key():
|
||||||
from utils import load_ssh_public_key
|
return utils.load_ssh_public_key()
|
||||||
return load_ssh_public_key()
|
|
||||||
|
|
||||||
@app.route('/system/update-packages', methods=["POST"])
|
@app.route('/system/update-packages', methods=["POST"])
|
||||||
@authorized_personnel_only
|
@authorized_personnel_only
|
||||||
|
|||||||
Reference in New Issue
Block a user