Files
AIclinicalresearch/redcap-docker-dev/scripts/reset-admin-password.php
HaHafeng 303dd78c54 feat(aia): Protocol Agent MVP complete with one-click generation and Word export
- Add one-click research protocol generation with streaming output

- Implement Word document export via Pandoc integration

- Add dynamic dual-panel layout with resizable split pane

- Implement collapsible content for StatePanel stages

- Add conversation history management with title auto-update

- Fix scroll behavior, markdown rendering, and UI layout issues

- Simplify conversation creation logic for reliability
2026-01-25 19:16:36 +08:00

60 lines
585 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* REDCap Admin密码重置脚本
* 用途重置Admin用户密码
*/
require_once '/var/www/html/redcap/redcap_connect.php';
require_once APP_PATH_CLASSES . 'Authentication.php';
$username = 'Admin';
$new_password = 'Admin123!';
echo "Resetting password for user: $username\n";
$result = Authentication::setPassword($username, $new_password, true);
if ($result) {
echo "✅ Password reset successful!\n";
echo "Username: Admin\n";
echo "New Password: Admin123!\n";
} else {
echo "❌ Password reset failed!\n";
}