We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22119ea + 5b2d13b commit 090a81bCopy full SHA for 090a81b
OneWelcomeExampleApp/Presenters/RegisterUserPresenter.swift
@@ -126,8 +126,11 @@ extension RegisterUserPresenter: RegisterUserViewToPresenterProtocol {
126
}
127
128
extension RegisterUserPresenter: PinViewToPresenterProtocol {
129
- func handlePinPolicy(pin: String, completion: (Error?) -> Void) {
130
- // TODO: implement if needed
+ func handlePinPolicy(pin: String, completion: @escaping (Error?) -> Void) {
+ let userClient = SharedUserClient.instance
131
+ userClient.validatePolicyCompliance(for: pin) { error in
132
+ completion(error)
133
+ }
134
135
136
func handlePin() {
0 commit comments