mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-17 02:00:54 +03:00
impl fingerprint ui logic
This commit is contained in:
@@ -270,10 +270,16 @@ impl Server {
|
||||
|
||||
fn add_authorized_key(&self, key: String) {
|
||||
self.authorized_keys.borrow_mut().insert(key);
|
||||
self.notify_frontend(FrontendEvent::AuthorizedUpdated(
|
||||
self.authorized_keys.borrow().clone(),
|
||||
));
|
||||
}
|
||||
|
||||
fn remove_authorized_key(&self, key: String) {
|
||||
self.authorized_keys.borrow_mut().remove(&key);
|
||||
self.notify_frontend(FrontendEvent::AuthorizedUpdated(
|
||||
self.authorized_keys.borrow().clone(),
|
||||
));
|
||||
}
|
||||
|
||||
fn enumerate(&self) {
|
||||
|
||||
Reference in New Issue
Block a user