added fields to the traits

This commit is contained in:
filipriec
2025-03-30 18:33:21 +02:00
parent 0568441e46
commit 12aec72141
2 changed files with 9 additions and 0 deletions

View File

@@ -57,4 +57,8 @@ impl CanvasState for AuthState {
_ => panic!("Invalid current_field index in AuthState"),
}
}
fn fields(&self) -> Vec<&str> {
vec!["Username/Email", "Password"]
}
}