displaying username and username contained in the jwt now
This commit is contained in:
@@ -22,6 +22,7 @@ pub struct AuthState {
|
||||
pub auth_token: Option<String>,
|
||||
pub user_id: Option<String>,
|
||||
pub role: Option<String>,
|
||||
pub decoded_username: Option<String>,
|
||||
pub has_unsaved_changes: bool,
|
||||
}
|
||||
|
||||
@@ -55,6 +56,7 @@ impl AuthState {
|
||||
user_id: None,
|
||||
role: None,
|
||||
has_unsaved_changes: false,
|
||||
decoded_username: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user