userlogin icon indicating copy to clipboard operation
userlogin copied to clipboard

mongodb no type error

Open hitanol opened this issue 2 years ago • 0 comments

console:

[UserLogin] Enabling UserLogin v2.13.1
[UserLogin] Invalid database type selected, defaulting to "yaml"
[UserLogin] UserLogin v2.13.1 enabled

config file:

  # One of: 'yaml', 'mongodb', 'mysql', 'postgresql', 'sqlite'
  type: 'mongodb'

dont know if problem is in https://github.com/ElCholoGamer/userlogin/blob/24afe972af5c75173db2174c35eb7f7d3cdadc84/src/main/java/com/elchologamer/userlogin/database/Database.java#L34 theres no case "mongo"

idk how to program so pls fix it :(

hitanol avatar Mar 24 '22 06:03 hitanol