[Typo3-UG Hannover] FYI: Fw: [Typo3] HOWTO change fe_user password to md5

Peter Niederlag pn at kreativwert.de
Mon Sep 22 11:14:52 CEST 2003


Hallo,

das FE-Passwort lässt sich relativ einfach auf md5 umstellen.
Sinnvoll ist das imho vor allem, wenn man diese FE => BE-Login
Option/Extension nutzt. Bei Interesse kann ich beim nächsten UG-Treffen
diesen Patch durchführen.

Gruß,
PeterN

weitergeleitet Nachricht:

Date: Mon, 22 Sep 2003 09:36:36 +0200
From: "Mario Matzulla" <mario.melanie at arcor.de>
To: typo3-english at lists.netfielders.de
Newsgroups: typo3.english
Subject: [Typo3] HOWTO change fe_user password to md5


Hello,

I've found out how to change the password from clear-text to md5.

Do the following:

Follow this link and do the backend stuff:
http://typo3.org/1422+M5f4907bea18.0.html?&tx_maillisttofaq_pi1[answered_only]=0&tx_maillisttofaq_pi1[sword]=password%20md5

The frontend can be changed this way:

typo3\t3lib\class.t3lib_feuserauth.php

old: var $security_level = "";
new: var $security_level = "challenged";


typo3\tslib\class.tslib_userauth.php

old: if ($F_uident ==
md5($tempuser[$this->username_column].":".$tempuser[$this->userident_co
lumn]
.":".$F_chalvalue)) {
new: if (md5($F_uident) == $tempuser[$this->userident_column]) {


typo3\tslib\class.tslib_content.php

search: function getUpdateJS(.....
and insert after:
if ($arrPrefix == 'FE[fe_users]' && $dataArray["password"]!="") {
   $dataArray["password"]=md5($dataArray["password"]);
   $dataArray["password_again"]=md5($dataArray["password_again"]);
  }


That's it!!
Let me know if you have any problems

Mario


_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



-- 
Peter Niederlag
http://www.ikd01.de * Information Kommunikation Design *
http://www.clown-goli.de * Clown-Comedy-Jonglage-Animation *





More information about the TYPO3-hannover mailing list