Sure!
Put this code in the script tag in login.html:
// =========================================
// Get rid of everything after the @
$$("input[name='username']").each(function(e) {
e.on("change", function(event) {
$$("input[name='username']").first().value=$$("input[name='username']").first().value.split('@')[0];
});
});
// =========================================
save it and viola!
Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
WWW.UMHB.EDU
900 College St.
Belton, Texas
76513
Fone: 254-295-4658
Phax: 254-295-4221
________________________________________
From: Morgan, Joel P. [[email protected]]
Sent: Thursday, June 25, 2015 10:04 AM
To: [email protected]
Subject: Re: [PacketFence-users] truncate username@domain pid to just username
Can you post this information?
Message: 3
Date: Wed, 24 Jun 2015 14:48:54 +0000
From: "Sallee, Jake" <[email protected]>
Subject: Re: [PacketFence-users] truncate username@domain pid to just
username
To: "[email protected]"
<[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="us-ascii"
We are currently doing this with a little bit of java script we put in the page
If anyone is interested I can post the code, its only a few lines.
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users