Skip to content
This repository was archived by the owner on May 7, 2020. It is now read-only.
This repository was archived by the owner on May 7, 2020. It is now read-only.

Force update of password for mirgation of users #2

@dh3wr

Description

@dh3wr

Das PW wird ja im Klartext versendet. Wenn es nach dem Import der alten Daten noch nicht im bcrypt-Format besteht, soll trotzdem ein Login möglich sein und automatisch der neue bcrypt-Hash in die CouchDB gesetzt werden.

Also Ablauf beim Auth:

  1. Teste ob Passwort mit bcrypt ok ist -> Ja weiter
  2. Sonst teste, ob Passwort mit alter Variante ok ist -> Ja: Update auf bcrypt und weiter. Nein: No Auth

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions