remove wait_prelogin
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
5fcb30d3c7
commit
b18bfa749b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user