Fix javascript of real name feature run in self-manage edition unexpectedly

This is a fix for !130 (merged), in which the javascript should only run in SaaS, but currently they will run in Self-Manage and throw error in browser's console

@qianzhangxa @memorycancel

Edited by Kun Qian

Merge request reports

Loading