- 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
60 lines
585 B
PHP
60 lines
585 B
PHP
<?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";
|
||
}
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|