mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix hosted mode
This commit is contained in:
parent
ef62dbf307
commit
f70dc246b8
1 changed files with 3 additions and 1 deletions
|
|
@ -147,8 +147,9 @@ mod implementation {
|
||||||
pub fn update_policy(&mut self, policy: Option<PasswordRetentionPolicy>) {
|
pub fn update_policy(&mut self, policy: Option<PasswordRetentionPolicy>) {
|
||||||
log::info!("policy updated: {:?}", policy);
|
log::info!("policy updated: {:?}", policy);
|
||||||
}
|
}
|
||||||
pub fn hash_and_save_password(&mut self, pw: &str, _verify: bool) {
|
pub fn hash_and_save_password(&mut self, pw: &str, _verify: bool) -> bool {
|
||||||
log::info!("got password plaintext: {}", pw);
|
log::info!("got password plaintext: {}", pw);
|
||||||
|
true
|
||||||
}
|
}
|
||||||
pub fn set_ux_password_type(&mut self, cur_type: Option<PasswordType>) {
|
pub fn set_ux_password_type(&mut self, cur_type: Option<PasswordType>) {
|
||||||
self.password_type = cur_type;
|
self.password_type = cur_type;
|
||||||
|
|
@ -197,6 +198,7 @@ mod implementation {
|
||||||
}
|
}
|
||||||
pub fn purge_password(&mut self, _ptype: PasswordType) {}
|
pub fn purge_password(&mut self, _ptype: PasswordType) {}
|
||||||
pub fn purge_user_password(&mut self, _ptype: AesRootkeyType) {}
|
pub fn purge_user_password(&mut self, _ptype: AesRootkeyType) {}
|
||||||
|
pub fn purge_sensitive_data(&mut self) {}
|
||||||
|
|
||||||
pub fn get_ux_password_type(&self) -> Option<PasswordType> {self.password_type}
|
pub fn get_ux_password_type(&self) -> Option<PasswordType> {self.password_type}
|
||||||
pub fn finish_key_init(&mut self) {}
|
pub fn finish_key_init(&mut self) {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue