Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 9512fd3

Browse files
authored
Merge pull request #667 from wordpress-mobile/wcios/7318-invalid-password-actions
Open up reset password flow for external trigger
2 parents 8121ebd + b6965ad commit 9512fd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

WordPressAuthenticator.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |s|
44
s.name = 'WordPressAuthenticator'
5-
s.version = '2.2.1-beta.1'
5+
s.version = '2.2.1-beta.2'
66

77
s.summary = 'WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps.'
88
s.description = <<-DESC

WordPressAuthenticator/Authenticator/WordPressAuthenticator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ import WordPressKit
446446
///
447447
/// - Parameter loginFields: A LoginFields instance.
448448
///
449-
class func openForgotPasswordURL(_ loginFields: LoginFields) {
449+
public class func openForgotPasswordURL(_ loginFields: LoginFields) {
450450
let baseURL = loginFields.meta.userIsDotCom ? "https://wordpress.com" : WordPressAuthenticator.baseSiteURL(string: loginFields.siteAddress)
451451
let forgotPasswordURL = URL(string: baseURL + "/wp-login.php?action=lostpassword&redirect_to=wordpress%3A%2F%2F")!
452452
UIApplication.shared.open(forgotPasswordURL)

0 commit comments

Comments
 (0)