Page MenuHomePhabricator

D13765.id.diff
No OneTemporary

D13765.id.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
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)

Event Timeline