start working on generalizing credential logic

This commit is contained in:
jfmonty2 committed 2024-06-16 07:08:10 -04:00
1 parent 0491cb5790
commit d0a2532c27
16 files changed
+1192 -54

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ async fn setup(app: &mut App) -> Result<(), Box<dyn Error>> {
let mut conf = match AppConfig::load(&pool).await {
Ok(c) => c,
Err(SetupError::ConfigParseError(_)) => {
Err(LoadKvError::Invalid(_)) => {
setup_errors.push(
"Could not load configuration from database. Reverting to defaults.".into()
);