You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Bump version number
* Update draft release notes for 25.9
* Update draft release notes for 25.9
* Release Notes: add new section for next version (26.0)
* Application passwords reauthentication flow (#24522)
* Update wordpress-rs
* Do not overwrite account passwords with application passwords
* Prompt for re-authentication when the application password becomes invalid
* Fix unit tests compiling issues
* Delete `ApplicationPasswordUpdatedViewModifier`
* Update an unit test
Blog.password was overwritten to the new application password. We no
longer do that anymore.
* Add/more error logging (#24527)
* Improve error when loading notification settings
It previously displayed an unhelpful error message
* Log failures to fetch dashboard cards
* Use error message, if available
* Fix comment
* Update strings for localization
---------
Co-authored-by: Tony Li <[email protected]>
Co-authored-by: Jeremy Massel <[email protected]>
// Automatically dismiss this view upon a successful re-authentication.
44
+
dismiss()
45
+
}catch{
46
+
self.error = error.localizedDescription
47
+
}
48
+
}
49
+
}
50
+
51
+
iflet error {
52
+
Text(error)
53
+
.font(.body)
54
+
.foregroundStyle(.red)
55
+
.padding(.horizontal)
56
+
}
57
+
58
+
Spacer()
59
+
}
60
+
.padding()
61
+
.navigationBarTitleDisplayMode(.inline)
62
+
.toolbar{
63
+
ToolbarItem(placement:.navigationBarLeading){
64
+
Button(Strings.cancelButton){
65
+
dismiss()
66
+
}
67
+
}
68
+
}
69
+
}
70
+
}
71
+
}
72
+
73
+
privateenumStrings{
74
+
staticlettitle:String=NSLocalizedString("login.appPasswordReAuth.title", value:"Invalid application password", comment:"Title shown when the application password is invalid")
75
+
staticletdescription:String=NSLocalizedString("login.appPasswordReAuth.description", value:"The application password assigned to the app no longer exists in your profile.\nPlease sign in again to create a new application password for the app to use.", comment:"Description explaining why the user needs to re-authenticate")
76
+
staticletsignInButton:String=NSLocalizedString("login.appPasswordReAuth.signInButton", value:"Sign In", comment:"Button to start the re-authentication process")
77
+
staticletcancelButton:String=NSLocalizedString("login.appPasswordReAuth.cancelButton", value:"Cancel", comment:"Button to dismiss the re-authentication view")
0 commit comments