mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-16 04:56:05 +00:00
Working on Knockout model integration into existing authentication settings editor view.
Settings are now loading via new backend API.
This commit is contained in:
@ -1829,6 +1829,13 @@ def setting_authentication():
|
||||
result=result)
|
||||
|
||||
|
||||
@admin_bp.route('/setting/authentication/api', methods=['GET', 'POST'])
|
||||
@login_required
|
||||
@admin_role_required
|
||||
def setting_authentication_api():
|
||||
return Setting().get_group('authentication')
|
||||
|
||||
|
||||
@admin_bp.route('/templates', methods=['GET', 'POST'])
|
||||
@admin_bp.route('/templates/list', methods=['GET', 'POST'])
|
||||
@login_required
|
||||
|
Reference in New Issue
Block a user