mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-21 10:29:29 -05:00
Fix angular dev auth api schema extension
This commit is contained in:
parent
0272904fc9
commit
fc4867a4c8
@ -10,8 +10,8 @@ class AngularApiAuthenticationOverrideScheme(OpenApiAuthenticationExtension):
|
|||||||
|
|
||||||
def get_security_definition(self, auto_schema):
|
def get_security_definition(self, auto_schema):
|
||||||
return {
|
return {
|
||||||
"name": "Angular Authorization",
|
"type": "http",
|
||||||
"description": "Automatic Angular authentication for the dev server",
|
"scheme": "basic",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user