mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-12-06 15:52:54 -05:00
better error handling for authentication
This commit is contained in:
@@ -2173,7 +2173,7 @@ impl LockedDatabase {
|
||||
&mut self,
|
||||
req: auth::Request,
|
||||
sid: &auth::SessionHash,
|
||||
) -> Result<(&auth::Session, &User), Error> {
|
||||
) -> Result<(&auth::Session, &User), base::Error> {
|
||||
self.auth.authenticate_session(&self.conn, req, sid)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user