Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WordPressAuthenticator.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "WordPressAuthenticator"
s.version = "1.33.0-beta.2"
s.version = "1.33.0-beta.3"
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."

s.description = <<-DESC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ public enum WordPressAuthenticatorResult {
///
case presentPasswordController(value: Bool)

/// Present the view controller requesting the email address
/// associated to the user's wordpress.com account
///
case presentEmailController

/// A view controller to be inserted into the navigation stack
///
case injectViewController(value: UIViewController)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,10 @@ class LoginSiteAddressViewController: LoginViewController, NUXKeyboardResponder
self.showSelfHostedUsernamePassword()
}

self.showWPUsernamePassword()

self.showWPUsernamePassword()
case .presentEmailController:
// This case is only used for UL&S
break
case .injectViewController(_):
// This case is only used for UL&S
break
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ private extension SiteAddressViewController {
}

self.showWPUsernamePassword()
case .presentEmailController:
self.showGetStarted()
case let .injectViewController(customUI):
self.pushCustomUI(customUI)
}
Expand Down