fix: use getuser() syscall for determining username rather than session.toml hack
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user