Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3361796
D13765.id45313.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.id45313.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
Mon, Nov 25, 7:27 PM (12 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580792
Default Alt Text
D13765.id45313.diff (566 B)
Attached To
Mode
D13765: [keyserver] script to reset a user's password
Attached
Detach File
Event Timeline
Log In to Comment