 import Sugar
 import Validation
 
-internal struct PasswordResetForm {
+public struct PasswordResetForm {
     fileprivate let emailField: FormField<String>
     fileprivate let passwordField: FormField<String>
     fileprivate let passwordRepeatField: FormField<String>

// MARK: JSONInitializable

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

// MARK: PasswordResetInfoType

extension PasswordResetForm: PasswordResetInfoType {
    public var email: String? {
        return emailField.value
    }

    public var password: String? {
        return passwordField.value
    }
}
