mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-12-25 13:13:48 +01:00
Unused lifetime parameter are unused.
This commit is contained in:
parent
4e3bb44040
commit
d29b0c207d
@ -82,14 +82,14 @@ impl Callback<AppData, SessionData> for CB {
|
||||
}
|
||||
}
|
||||
|
||||
pub struct Auth<'a> {
|
||||
pub struct Auth {
|
||||
pub ctx: RSASL<AppData, SessionData>,
|
||||
session: Rc<RefCell<Option<Session>>>,
|
||||
access: Arc<AccessDB>,
|
||||
log: Logger,
|
||||
}
|
||||
|
||||
impl<'a> Auth<'a> {
|
||||
impl Auth {
|
||||
pub fn new(log: Logger, dbs: Databases, session: Rc<RefCell<Option<Session>>>) -> Self {
|
||||
let mut ctx = SASL::new().unwrap();
|
||||
|
||||
@ -103,7 +103,7 @@ impl<'a> Auth<'a> {
|
||||
}
|
||||
|
||||
use crate::schema::authenticationsystem_capnp::*;
|
||||
impl<'a> authentication_system::Server for Auth<'a> {
|
||||
impl authentication_system::Server for Auth {
|
||||
fn mechanisms(&mut self,
|
||||
_: authentication_system::MechanismsParams,
|
||||
mut res: authentication_system::MechanismsResults
|
||||
|
Loading…
Reference in New Issue
Block a user