Adds support for importing password hashes used by "migratepassword" plugin

Adds setting to phpBB3 importer for importing passwords (default: off)
Plugin: https://github.com/discoursehosting/discourse-migratepassword
This commit is contained in:
Gerhard Schlager
2015-08-20 22:15:57 +02:00
parent 676416f478
commit 8c03dd16af
6 changed files with 15 additions and 2 deletions

View File

@ -12,6 +12,7 @@ module ImportScripts::PhpBB3
attr_reader :import_private_messages
attr_reader :import_polls
attr_reader :import_bookmarks
attr_reader :import_passwords
attr_reader :import_uploaded_avatars
attr_reader :import_remote_avatars
@ -36,6 +37,7 @@ module ImportScripts::PhpBB3
@import_private_messages = import_settings['private_messages']
@import_polls = import_settings['polls']
@import_bookmarks = import_settings['bookmarks']
@import_passwords = import_settings['passwords']
avatar_settings = import_settings['avatars']
@import_uploaded_avatars = avatar_settings['uploaded']