migratetoflarum / old-passwords

Re-hash passwords from an old platform on the fly
https://discuss.flarum.org/d/8631
MIT License
8 stars 4 forks source link

How to tell the login to use an old SHA1 encrypted by username+password ? #2

Closed broxinagil closed 5 years ago

broxinagil commented 5 years ago

Top Extension, very usefull for migrating old Forums btw. As it is known, Simplemachines Forum (SMF) uses sha1(username+password) for pw encryption. How do I advise this Extension to use that encrypted pw ?

broxinagil commented 5 years ago

Ah, seems I can use "salt-before" with the username to do so ?

clarkwinkelmann commented 5 years ago

Yep, seems like salt-before would do the trick. Were you able to confirm it works ?

broxinagil commented 5 years ago

Not yet. Will check this within the next days and report

clarkwinkelmann commented 5 years ago

I'm closing the issue, feel free to respond/reopen it if you need further help :wink: