Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3331722
D13765.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
566 B
Referenced Files
None
Subscribers
None
D13765.id.diff
View Options
diff --git a/keyserver/src/scripts/reset-identity-user-password.js b/keyserver/src/scripts/reset-identity-user-password.js
new file mode 100644
--- /dev/null
+++ b/keyserver/src/scripts/reset-identity-user-password.js
@@ -0,0 +1,12 @@
+// @flow
+
+import { main } from './utils.js';
+import { privilegedResetUserPassword } from '../utils/identity-utils.js';
+
+async function resetIdentityUserPassword() {
+ const targetUsername = '';
+ const password = '';
+ await privilegedResetUserPassword(targetUsername, password);
+}
+
+main([resetIdentityUserPassword]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 9:09 PM (2 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2553905
Default Alt Text
D13765.id.diff (566 B)
Attached To
Mode
D13765: [keyserver] script to reset a user's password
Attached
Detach File
Event Timeline
Log In to Comment