Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run web/admin redirect to page "http://localhost:8080/admin/login/license_terms.jsp" and show "Deleting the license terms is not allowed" #9

Open
wisdomleo opened this issue Nov 27, 2024 · 1 comment

Comments

@wisdomleo
Copy link

Dear Bambooww,

Now, no errors while loading web/admin/index.jsp, I am so happy!!!
But, it will redirect to page "http://localhost:8080/admin/login/license_terms.jsp" and show message "Deleting the license terms is not allowed".
image

I debuged and found below logic in web\admin\login.jsp, line 14:

boolean has_setpsw = LoginUtil.checkAdminSetPsw() ;
if(!has_setpsw)
{
	Boolean b = (Boolean)session.getAttribute("accept_license_terms");
	if(b==null||!b)
	{
		response.sendRedirect("license_terms.jsp");
		return ;
	}
}

so, how to set the password of user "admin" ?
there is no any notice about "please accept ...", don't know why and how to fix it.

Best Regards,
Leo Ma

@wisdomleo
Copy link
Author

now I change the logic to skip it, but it's not a good method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant