Режим разработки: служебные разделы, робот НРД и имитации — только по признаку из ключа лицензии
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,9 @@ func advancedUnlocked(r *http.Request) bool {
|
||||
if globalRC != nil && moduleAllowed(globalRC, "quik-mnp") {
|
||||
return true
|
||||
}
|
||||
if !devMode(globalRC) { // пароль на модули — инструмент разработчиков
|
||||
return false
|
||||
}
|
||||
c, err := r.Cookie(advancedCookie)
|
||||
if err != nil {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user