fix: use getuser() syscall for determining username rather than session.toml hack

This commit is contained in:
2026-04-01 11:44:13 +02:00
parent 910e120509
commit 36329504dc
8 changed files with 40 additions and 67 deletions
+1 -1
View File
@@ -509,7 +509,7 @@ static bool try_login(LoginState* ls) {
return false;
}
// Write session so any app can query the current user
// Persist login session state for the active desktop session.
montauk::user::set_session(ls->username);
return true;
}