mirror of
https://github.com/quay/quay.git
synced 2025-04-18 10:44:06 +03:00
Adds ACCOUNT_RECOVERY_MODE to allow Quay to run with some core features disabled. When this is set, the instance should only be used in order by existing users who hasn't linked their account to an external login service, after database authentication has been disabled.
6 lines
204 B
Python
6 lines
204 B
Python
from app import app as application
|
|
from endpoints.secscan import secscan
|
|
|
|
if not application.config.get("ACCOUNT_RECOVERY_MODE", False):
|
|
application.register_blueprint(secscan, url_prefix="/secscan")
|