added fields to the traits
This commit is contained in:
@@ -57,4 +57,8 @@ impl CanvasState for AuthState {
|
||||
_ => panic!("Invalid current_field index in AuthState"),
|
||||
}
|
||||
}
|
||||
|
||||
fn fields(&self) -> Vec<&str> {
|
||||
vec!["Username/Email", "Password"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user