문제

Mantis는 새 사용자가 메일로 받은 링크를 클릭해야 합니다.회사 정책에 따라 sendmail(또는 기타) 응용 프로그램은 서버에서 활성화될 수 없습니다.사용자가 유효한 이메일 없이 등록할 수 있도록 하려면 어떻게 해야 합니까?

어쨌든 업데이트 쿼리를 실행하고 데이터베이스에서 직접 비밀번호를 변경한 후 사용자에게 넘겨줄 수 있나요?

도움이 되었습니까?

해결책

  1. Create the user normally via http://path/to/mantis/manage_user_create_page.php (using an existing admin account)

  2. Open a command prompt and log into MySQL (mysql -u root -p)

  3. use bugtracker; (where bugtracker is the name of the mantis bd; default = bugtracker)

  4. update mantis_user_table set password=md5('password') where username='username';

The whole cmd exchange looks like this:

C:\Program Files\MySQL\MySQL Server 4.1\bin>mysql -u root -p
Enter password: *********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7 to server version: 4.1.21-community-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use bugtracker;
Database changed

mysql> update mantis_user_table set password=md5('password') where username='username';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

다른 팁

예, 저도 같은 문제가 있었습니다.작업 계정이 하나 있는 경우(설치 후 관리자 사용자가 있는 경우) 이 계정의 비밀번호(데이터베이스에 있음)를 복사하여 새 사용자에 붙여넣을 수 있습니다.

다음에서 사용자를 찾을 수 있습니다.mantis_user_table.

이 해시를 사용하는 경우:5f4dcc3b5aa765d61d8327deb882cf99 새 비밀번호는 다음과 같습니다.비밀번호

https://mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.user.create

add $g_enable_email_notification = OFF to the config_inc.php file. This will set the user's password to blank instead of sending them an email. You can either ask them to change it on first time login or login in for them (without password) and create a password for them.

  1. list
  2. 는 누구에게나 액세스 할 수 있습니다.그것이 큰 그룹이라면 광고 보안 그룹을 사용하는 것이 좋습니다.
  3. 직접 링크를 주거나 다른 곳으로 탐색 할 수있는 링크를 게시하십시오.그것이 호스팅 된 사이트로 이동할 수 없습니다.

Add this to config_inc.php:

$g_enable_email_notification = OFF;
$g_send_reset_password = OFF;
$g_validate_email = OFF;
$g_check_mx_record = OFF;

Credit to: https://mantisbt.org/forums/viewtopic.php?t=799

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top