feat: remove remaining use of session.toml

This commit is contained in:
daniel committed 2026-10-17 10:36:07 +02:00
1 parent e87bd358a6
commit 14c7099e3b
7 files changed
+5 -42

No files matched your search

+1 -3
View File
@@ -568,7 +568,7 @@ montauk::config::save("desktop", &doc);
Header: `montauk/user.h`
User authentication and session management with SHA-256 password hashing.
User authentication and current-user helpers with SHA-256 password hashing.
```cpp
bool user::authenticate(const char* username, const char* password);
@@ -577,8 +577,6 @@ bool user::create_user(const char* username, const char* display_name,
bool user::delete_user(const char* username);
bool user::change_password(const char* username, const char* new_password);
void user::set_session(const char* username); // Log in
void user::clear_session(); // Log out
bool user::get_session_username(char* buf, int sz); // Get current process user
bool user::get_home_dir(char* buf, int sz); // Get current process home directory
```