Removing Salt

physbot

Joined: 2007-03-25
Posts: 1
Posted: Sun, 2007-03-25 14:54

On my server i have a user database with the passwords encrypted with a single MD5 hash that all my pages use for authentication. Currently users have to register for the main server, then gallery seperately. Is there anyway i can remove the salt from the hash in gallery so that i can import my user table as i dont realy want to have to add a salt to the origonal registration page and get my users to re-register to create a new salted hash password. I have played arround with the /modules/core/classes/GalleryUtilities and GalleryUser but not had much luck. Any help would be great.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-03-25 14:57

Authenticate users against your own application and the call G2 with GalleryEmbed.

See:
http://codex.gallery2.org/Gallery2:Embedding

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage