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

在数据库中确认多次用户名和密码,但还是无法登录,显示用户名或密码不正确。 #56

Open
walkerKWJ-cumt opened this issue Mar 12, 2022 · 3 comments

Comments

@walkerKWJ-cumt
Copy link

image

@walkerKWJ-cumt
Copy link
Author

已解决,通过debug发现,在spring-boot-online-exam/backend/src/main/java/lsgwr/exam/service/impl/UserServiceImpl.java文件中,String passwordDb = Base64.decodeStr(user.getUserPassword());发生转换错误,因此将其改为 String passwordDb = user.getUserPassword();便可登录。

@baichuanZ
Copy link

厉害

@renanmin
Copy link

renanmin commented Sep 28, 2022 via email

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

3 participants