Skip to content
This repository has been archived by the owner on May 30, 2018. It is now read-only.

Add pages for password recovery #99

Open
btry opened this issue Oct 26, 2017 · 6 comments
Open

Add pages for password recovery #99

btry opened this issue Oct 26, 2017 · 6 comments
Assignees
Labels
Projects
Milestone

Comments

@btry
Copy link

btry commented Oct 26, 2017

When a user looses his password we need to show in the dashbpoard a link near the login form to point to a recovery page. (https;//.../dashboard/lostpassword)

  • The user must give his email address.
  • refer to GLPI documetnation to generate a REST request
  • GLPI will send an email with an URL containing a secret token (so HTTP GET only).
  • the user clicks on the URL pointing to the dashboard (https;//.../dashboard/resetpassword)
    • this URL has a query string containing the secret token (...?token=abcdef)
  • the dashboard asks for the email address and the new pssword
  • the user validates
  • the dashboard sends a request containing the email address, the secret token and the new password

https://github.com/glpi-project/glpi/blob/9.2/bugfixes/apirest.md#lost-password

@btry btry added the feature label Oct 26, 2017
@btry
Copy link
Author

btry commented Oct 26, 2017

Screenshot of the settings I added to the dev server

image

@ajsb85
Copy link
Contributor

ajsb85 commented Oct 26, 2017

@btry I like it

@btry
Copy link
Author

btry commented Oct 26, 2017

Once done this requires documentation to the flyve mdm installation page. This step is needed only if the dashboard is installed and used.

  • implement the feature in the dashboard
  • document the related install steps (but this would be better in the repo of the plugin :/ )

@ajsb85
Copy link
Contributor

ajsb85 commented Oct 26, 2017

@btry No ways to create the templay in the install process of the plugin?

@btry
Copy link
Author

btry commented Oct 26, 2017

Currently I think this is not a good idea because the admin of GLPI might already customized the template, or not. Also the template may exist several times, one per language. Finally this makes many code to create and maintain for something which is changed occasionnaly in the life of a GLPI instance. We need to focus our energy on things more important IMO.

@ajsb85
Copy link
Contributor

ajsb85 commented Oct 26, 2017

@btry Ok good point

@ajsb85 ajsb85 changed the title Feature - add pages for password recovery Add pages for password recovery Oct 26, 2017
@ajsb85 ajsb85 added this to the 3.0 milestone Oct 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Dashboard
Awaiting triage
Development

No branches or pull requests

3 participants