 // MARK: Form
 
 extension PasswordResetForm: Form {
-    var fields: [FieldType] {
+    public var fields: [FieldType] {
         return [emailField, passwordField, passwordRepeatField]
     }
 }

import Sugar
import Validation

internal struct PasswordResetForm {
    fileprivate let emailField: FormField<String>
    fileprivate let passwordField: FormField<String>
    fileprivate let passwordRepeatField: FormField<String>

// MARK: JSONInitializable

extension PasswordResetForm: JSONInitializable {
    public init(json: JSON) throws {
        try self.init(
            email: json.get(User.Keys.email),
            password: json.get(User.Keys.password),
