Hello Benjamin,
you can lower case the username here:
https://github.com/inverse-inc/packetfence/blob/devel/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication/Login.pm#L125
$username = lc($username);
Regards
Fabrice
Le 19-07-16 à 11 h 03, Brenek, Benjamin via PacketFence-users a écrit :
Hello All,
I was wondering if there is a way to use case insensitive local user
authentication.
My use case is:
I have a generic local account named guest.
I would like to allow people to authenticate by entering either the
username guest or Guest.
The reason for this is that most phones auto-cap the first letter, and
this causes a high number of tickets when people don’t realize this.
The reason that I don’t want to make the account Guest is that
computers do not auto-cap the first letter, which would result in the
confusion being transferred rather than fixed.
I tried adding two different users, but PacketFence/MariaDB is not
configured to support PID/Primary Keys that are case sensitive.
Any help here would be appreciated.
Thank you,
*Ben*
/Our employees' reviews made us a Best Place to Work
<https://www.glassdoor.com/survey/start_input.htm?showSurvey=REVIEWS&employerId=153924&contentOriginHook=PAGE_SRCH_COMPANIES>
in 2018 &2019!
Spread the word and earn a *bonus* by referring a friend.
<http://hs.bayada.com/talent-scout-ilwid?utm_source=email%20signature&utm_medium=email&utm_campaign=Glassdoor%20Award>/
Compassion, Excellence, Reliability <http://bhhc.co/BAYemail_site>
Facebook <http://bhhc.co/BAYemail_fb> Twitter
<http://bhhc.co/BAYemail_tw> LinkedIn <http://bhhc.co/BAYemail_LI>
YouTube <http://bhhc.co/BAYemail_yt> Bayada
<http://bhhc.co/BAYemail_site>
*CONFIDENTIALITY NOTICE:* This email may contain information belonging
to BAYADA and is protected by law. Do not forward, copy, or otherwise
disclose to anyone unless permitted by BAYADA or required by law. If
you are not the intended recipient, please notify the sender immediately.
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users