1. Turn on user authentication
2. What should I do if I forget the password after the user registration is completed?
After entering the directory, edit config.xml
<useSecurity> .. ... .. </securityRealm>
Delete the codes of the 2 tags, then restart jenkins, everything is back to the past, use it directly without a password;