Bugfix for moved history.toml
This commit is contained in:
parent
9c15ea791f
commit
0f1de67db6
3 changed files with 8 additions and 5 deletions
src
|
@ -46,14 +46,14 @@ pub(crate) async fn login(config: &Config) -> Result<Lemmy, ()> {
|
|||
None => {
|
||||
let err_msg = "Login did not return JWT token. Are the credentials valid?".to_owned();
|
||||
write_error(err_msg);
|
||||
return Err(())
|
||||
Err(())
|
||||
}
|
||||
}
|
||||
},
|
||||
status => {
|
||||
let err_msg = format!("Unexpected HTTP Status '{}' during Login", status);
|
||||
write_error(err_msg);
|
||||
return Err(())
|
||||
Err(())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue