Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

ResetPasswordRequest

siemensikkema edited this page Nov 8, 2021 · 2 revisions

ResetPasswordRequest

public protocol ResetPasswordRequest: ValidatableRequest 

Inheritance

ValidatableRequest

Default Implementations

updatePassword(for:on:)

static func updatePassword(for user: Model, on request: Request) -> EventLoopFuture<Model> 

updatePassword(on:)

static func updatePassword(on request: Request) -> EventLoopFuture<Model> 

Requirements

Model

associatedtype Model

hashedPasswordKey

static var hashedPasswordKey: ReferenceWritableKeyPath<Model, String> 

password

var password: String