Rename auth server API functions
This commit is contained in:
parent
77653e9eb9
commit
30b1488a18
|
@ -24,7 +24,7 @@ def ping():
|
||||||
return 'pong'
|
return 'pong'
|
||||||
|
|
||||||
@app.route('/set-wiki-password', methods=['POST'])
|
@app.route('/set-wiki-password', methods=['POST'])
|
||||||
def set_password():
|
def set_wiki_password():
|
||||||
check_auth()
|
check_auth()
|
||||||
|
|
||||||
username = request.form['username']
|
username = request.form['username']
|
||||||
|
@ -34,7 +34,7 @@ def set_password():
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
@app.route('/set-discourse-password', methods=['POST'])
|
@app.route('/set-discourse-password', methods=['POST'])
|
||||||
def set_password():
|
def set_discourse_password():
|
||||||
check_auth()
|
check_auth()
|
||||||
|
|
||||||
username = request.form['username']
|
username = request.form['username']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user