remove wait_prelogin

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-04-03 13:16:57 +08:00
1 parent 5fcb30d3c7
commit b18bfa749b
1 file changed
+1 -1
+1 -1
View File
@@ -467,7 +467,7 @@ pub fn get_env_var(k: &str) -> String {
}
}
// Headless is enabled, no need to wait prelogin.
// Headless is enabled, always return true.
pub fn is_prelogin() -> bool {
let n = get_active_userid().len();
n < 4 && n > 1