mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
The function is imported and called consistently with all the others.
This commit is contained in:
parent
65f2fc5184
commit
35d97fb767
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user