royalfunk Posted March 24, 2004 Share Posted March 24, 2004 I would like to be able to set up or import a group of customers with existing passwords into our store system but the password that is filtered into the "customers_password" field does not work. It seems like you can only create a password from the site's Create An Account page. Is there a way to set up your customers in the database and assign them passowords without having to fill out the Create An Account page at the site for every user? Thanks! _Aaron Link to comment Share on other sites More sharing options...
OceanRanch Posted March 24, 2004 Share Posted March 24, 2004 The password is stored as an md5 crypted field in the database. You could import the plain text password and add that to the database. Then you'd need to write a php script to update ALL of the customers... 1. reads all the customers and the text password. 2. Use the osc tep_encrypt_password($plain) function to create the md5 password. 3. update the customer's password. HTH Tom PS: There might be a contribution that already does this.....but I doubt it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.