Actions

Translations

Manage users/60/nl: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 1: Line 1:
'''Dingen om even zeker te weten:'''
'''Aandachtspunten:'''
* De functie voor wegwerpwachtwoorden moet aangezet worden via "$use_one_time_passwords = true;" (in 1.92), of "use_one_time_passwords => true" (in 2.0 in config section) in config.php.
* De functie voor wegwerpwachtwoorden moet aangezet worden via "$use_one_time_passwords = true;" (in 1.92), of "use_one_time_passwords => true" (in 2.0 in config section) in config.php.
* De gebruikersnaam moet bestaan in de gebruikerstabel
* De gebruikersnaam moet bestaan in de gebruikerstabel

Revision as of 18:05, 6 June 2013

Message definition (Manage users)
'''Things to watch out for:'''
* To enable this login method, the line [[Optional settings#Use_one_time_passwords|<code>'use_one_time_passwords' => true</code>]] has to be added in config.php (it is 'false' by default).
* The passed username has to exist in the LimeSurvey ''users table''.
* The one-time password (which can be set via an external application) has to be stored as [https://secure.php.net/manual/en/function.md5.php MD5 hash] in the column ''one_time_pw'' of table ''users''.
* The passed plain text password will be hashed using the sha256 function and will then compared to the stored hash in column ''one_time_pw'' of table ''users''. Both passwords have to match.
* After the first login with the one-time password, it gets deleted from the database. The user won't be able to log in with that respective password a second time.

Aandachtspunten:

  • De functie voor wegwerpwachtwoorden moet aangezet worden via "$use_one_time_passwords = true;" (in 1.92), of "use_one_time_passwords => true" (in 2.0 in config section) in config.php.
  • De gebruikersnaam moet bestaan in de gebruikerstabel
  • Het wegwerpwachtwoord is opgeslagen als MD5 hash in de kolom one_time_pw van tabel users
  • Het opgestuurde wachtwoord wordt als MD5-hash vergeleken met het opgeslagen wachtwoord
  • Na de login wordt het wachtwoord verwijderd. De gebruiker kan dus maar een keer het wegwerpwachtwoord gebruiken.