Page MenuHomePhabricator

D13765.id45313.diff
No OneTemporary

D13765.id45313.diff

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

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)

Event Timeline