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

bootstrap5 login page voucher not working when voucher has capital letter #14

Open
eldzee opened this issue Jul 22, 2022 · 0 comments
Open

Comments

@eldzee
Copy link

eldzee commented Jul 22, 2022

Hi, the bootstrap5 voucher login page js making the inputed voucher tolowercase,
this cause problem when the random generated voucher using the random_alpha_numeric (the voucher generated has capital letters)

e.g.
Fri Jul 22 18:13:07 2022 : Debug: (30) modsingle[authenticate]: calling pap (rlm_pap)
Fri Jul 22 18:13:07 2022 : Debug: (30) pap: Login attempt with password "fhc0sx5q" (8)
Fri Jul 22 18:13:07 2022 : Debug: (30) pap: Comparing with "known good" Cleartext-Password "Fhc0sx5Q" (8)
Fri Jul 22 18:13:07 2022 : ERROR: (30) pap: Cleartext password does not match "known good" password

right now I managed to get it all working again by removing the .toLowerCase() for $("#txtVoucher").val()
in every sConnect*.js at /rdcore/login/bootstrap5/js/

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