mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 07:02:24 +00:00
frontend: Only show logout button when logged in
This commit is contained in:
@@ -1 +1,8 @@
|
||||
use rustical_store::auth::Principal;
|
||||
|
||||
pub mod user;
|
||||
|
||||
/// Required by the base layout
|
||||
pub trait DefaultLayoutData {
|
||||
fn get_user(&self) -> Option<&Principal>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user