mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
fix: login successed but popup Forbidden (#437)
This commit is contained in:
@@ -200,7 +200,10 @@ impl Server {
|
||||
.map(|(k, v)| (k.to_string(), v.to_string()))
|
||||
.collect();
|
||||
|
||||
if method.as_str() == "WRITEABLE" {
|
||||
if method.as_str() == "AUTH" {
|
||||
if user.is_none() {
|
||||
self.auth_reject(&mut res)?;
|
||||
}
|
||||
return Ok(res);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user