fix: show totp secret as base32
This commit is contained in:
parent
539caf7859
commit
f161e0b176
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ impl DataManager {
|
|||
};
|
||||
|
||||
// return
|
||||
Ok((secret, qr, recovery))
|
||||
Ok((totp.get_secret_base32(), qr, recovery))
|
||||
}
|
||||
|
||||
pub async fn cache_clear_user(&self, user: &User) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue