mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-03-18 19:12:07 +00:00
13 lines
289 B
Bash
13 lines
289 B
Bash
#!/bin/bash
|
|
#
|
|
|
|
function delete_oauth2_provider_applications() {
|
|
python3 ../apps/manage.py shell << EOF
|
|
from oauth2_provider.models import *
|
|
apps = Application.objects.all()
|
|
apps.delete()
|
|
print("OAuth2 Provider Applications deleted successfully!")
|
|
EOF
|
|
}
|
|
|
|
delete_oauth2_provider_applications |