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

A nicer user interface #37

Merged
merged 2 commits into from
May 1, 2020
Merged

A nicer user interface #37

merged 2 commits into from
May 1, 2020

Conversation

dimst23
Copy link
Contributor

@dimst23 dimst23 commented Nov 30, 2019

Intro

This pull request implements a more user friendly interface.

Overview

  • connexion.php file merged with the index.php
  • New icons added for the different phases
  • Custom style form implemented
  • Error messages are shown in the form and not on a white page
  • Authorization form also changed

{
// Check received data length (to prevent code injection)
if (strlen($_POST['user']) > 15)

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();

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" >

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" >

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"

@Crivaledaz Crivaledaz merged commit 443abb4 into Crivaledaz:master May 1, 2020
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

Successfully merging this pull request may close these issues.

3 participants