Skip to content
lenis0012 edited this page May 3, 2019 · 9 revisions

If you are currently using xAuth, and want to switch to LoginSecurity.
That's possible!
LoginSecurity supports xAuth migration, and its pretty easy to setup too.

Requirements

In order to migrate from xAuth to LoginSecurity, you must have the following

  • LoginSecurity 2.1 or higher
  • xAuth database: H2(default) or MySQL
  • xAuth hashing: DEFAULT(0), WHIRLPOOL(1) or Sha256_AuthMe(5)
  • H2 library in your lib folder (should be there already if you used xAuth)

Conversion

Once you have confirmed all the requirements from above are correct, do te following
H2 (default):

  1. Copy the xAuth.h2.db file in plugins/xAuth to plugins/LoginSecurity
  2. Go to console and run command /lac dbimport xauth h2
  3. Wait for the process to be completed
  4. Delete xAuth.h2.db (you can keep a backup if you really want)

MySQL:

  1. Get your mysql details (host, user, password, database)
  2. Go to console and run command /lac dbimport xauth mysql <host> <user> <password> <database>
    2.1. The host must contain the port, ex. localhost:3306
  3. Wait for the process to complete

Thats pretty much it, if anything goes wrong report it in the issues section.

Clone this wiki locally