fix: connection text in client now

This commit is contained in:
Kingtous committed 2023-04-18 18:28:12 +08:00
1 parent 83e63d57e1
commit f0b532426f
4 files changed
+12 -12

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
use super::{linux::*, ResultType};
use crate::server::{
use crate::client::{
LOGIN_MSG_DESKTOP_NO_DESKTOP, LOGIN_MSG_DESKTOP_SESSION_ANOTHER_USER,
LOGIN_MSG_DESKTOP_SESSION_NOT_READY, LOGIN_MSG_DESKTOP_XORG_NOT_FOUND,
LOGIN_MSG_DESKTOP_XSESSION_FAILED,
@@ -152,7 +152,7 @@ fn try_start_x_session(username: &str, password: &str) -> ResultType<(String, bo
desktop_manager.is_running(),
))
} else {
bail!(crate::server::LOGIN_MSG_DESKTOP_NOT_INITED);
bail!(crate::client::LOGIN_MSG_DESKTOP_NOT_INITED);
}
}