fix: determine authRequired by reading window.context.sourcegraphDotComMode
Created by: attfarhan
Fixes https://github.com/sourcegraph/sourcegraph/issues/7369.
TODO after merge: remove auth.public: true
from sourcegraph.com site config.
Created by: attfarhan
Fixes https://github.com/sourcegraph/sourcegraph/issues/7369.
TODO after merge: remove auth.public: true
from sourcegraph.com site config.