Rename auth server API functions

This commit is contained in:
Tanner Collin 2021-09-04 22:54:17 +00:00
parent 77653e9eb9
commit 30b1488a18

View File

@ -24,7 +24,7 @@ def ping():
return 'pong'
@app.route('/set-wiki-password', methods=['POST'])
def set_password():
def set_wiki_password():
check_auth()
username = request.form['username']
@ -34,7 +34,7 @@ def set_password():
return ''
@app.route('/set-discourse-password', methods=['POST'])
def set_password():
def set_discourse_password():
check_auth()
username = request.form['username']