-
Notifications
You must be signed in to change notification settings - Fork 71
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
A nicer user interface #37
Conversation
{ | ||
// Check received data length (to prevent code injection) | ||
if (strlen($_POST['user']) > 15) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The max username length should be increased to 64 . Because we have Windows AD user accounts "prename.name" in our directory.
<td align="center"> | ||
<div class="LoginTitle">LDAP Authentification</div> | ||
|
||
$prompt_template = new DOMDocument(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be also updated in the README.md that this line requires the apt package "php-dom" to be installed.
apt-get -y install php-dom
<div id="form_credentials"> | ||
<h1>LDAP Authentication</h1> | ||
<div id="form_icon_prompt"> | ||
<img src="./prompt_icon.png" alt="authentication icon" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must be: src="./images/prompt_icon.png"
<div id="form_credentials"> | ||
<h1>LDAP Authentication</h1> | ||
<div id="form_icon"> | ||
<img src="./auth_icon.png" alt="authentication icon" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must be: src="./images/auth_icon.png"
Intro
This pull request implements a more user friendly interface.
Overview
connexion.php
file merged with theindex.php