Get and store steam username and display it on the homepage

This commit is contained in:
Lol3rrr
2024-09-10 17:48:06 +02:00
parent d3658be232
commit 9a033b7190
15 changed files with 528 additions and 103 deletions

View File

@@ -15,7 +15,7 @@ pub struct UserSession {
}
impl UserSession {
const KEY: &'static str = "user.data";
pub const KEY: &'static str = "user.data";
pub fn data(&self) -> &UserSessionData {
&self.data