mirror of
https://github.com/WGDashboard/WGDashboard-PRW.git
synced 2026-12-02 01:17:41 +00:00
chore: rework api endpoints
This commit is contained in:
@@ -57,7 +57,7 @@ def api_welcome_finish():
|
||||
|
||||
return make_resp_obj()
|
||||
|
||||
@routes_welcome.route('/api/welcome/totplink')
|
||||
@routes_welcome.route('/api/welcome/totplink', methods=["GET"])
|
||||
def api_welcome_get_totp():
|
||||
ok, config_account = config.filter(flask.current_app.wgd_config, 'ACCOUNT')
|
||||
if not ok:
|
||||
|
||||
Reference in New Issue
Block a user