Can enforce 2FA for specific clients
This commit is contained in:
@@ -28,6 +28,10 @@ pub struct Client {
|
||||
/// Specify whether a client is granted to all users
|
||||
#[serde(default = "bool::default")]
|
||||
pub granted_to_all_users: bool,
|
||||
|
||||
/// Specify whether recent Second Factor Authentication is required to access this client
|
||||
#[serde(default = "bool::default")]
|
||||
pub enforce_2fa_auth: bool,
|
||||
}
|
||||
|
||||
impl PartialEq for Client {
|
||||
|
||||
Reference in New Issue
Block a user