[wp-trac] [WordPress Trac] #51941: Unique names for Application Password
WordPress Trac
noreply at wordpress.org
Fri Jan 29 15:07:47 UTC 2021
#51941: Unique names for Application Password
-------------------------------------------------+-------------------------
Reporter: Boniu91 | Owner: boniu91
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.7
Component: Application Passwords | Version: 5.6
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing has-unit- | Focuses:
tests | administration
-------------------------------------------------+-------------------------
Comment (by paaljoachim):
Testing the latest patch.
Go to the Users > Profile
1. Add a new Application Password test- Created correctly
**Works**
2. Add a new Application Password called test again- Notification appears,
we're not able to
**I am seeing this message: Each application name should be unique.**
3. Add a new Application Password called test2- Worked as expected
**I added test2**
4. Revoke one Application Password- It disappears
**Works. Revoked test2. Message: Application password revoked.**
5. Revoke all Application Password- They disappear
**Works. Revoked test. Message Application password revoked.**
In Chrome developer tools Console I see this error:
{{{
POST http://localhost:8889/index.php?rest_route=/wp/v2/users/1
/application-passwords&_locale=user 409 (Conflict)
jquery.js?ver=3.5.1:10099
send @ jquery.js?ver=3.5.1:10099
ajax @ jquery.js?ver=3.5.1:9682
jQuery.ajax @ jquery-migrate.js?ver=3.3.2:305
apiRequest @ api-request.js?ver=5.7-alpha-50000-src:22
(anonymous) @ application-passwords.js?ver=5.7-alpha-50000-src:49
dispatch @ jquery.js?ver=3.5.1:5429
elemData.handle @ jquery.js?ver=3.5.1:5233
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51941#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list