Помогите AuthMe регитрация по email

vlad945922

Старожил
Пользователь
Баллы
103
Ник в Minecraft
Emien
Стоит привязка AuthMe - Dle. При регистрации через сайт, всё отлично Но если регистрироваться через сервер, появляется ошибка:
  • Стоит регистрация по email, захожу на сервер, пишу /rerister <мейл>.
  • Мне высылается письмо с паролем. потом мне предлагают ввести /login <пароль из письма>.
  • После ввода, пишет, что пользователь не зарегистрирован.
  • И по новой предлагает зарегистрироваться.
Вот логи при регистрации:
Код:
[14:06:59] [User Authenticator #1/INFO]: UUID of player tester is dd823a0c-b94a-369f-acd6-ddd287e3180e
[14:06:59] [Server thread/INFO]: tester[/77.35.57.216:25785] logged in with entity id 133 at ([world] 1208.5057341362706, 70.0, 590.7065644120174)
[14:07:44] [Server thread/INFO]: tester использовал команду: /register [email protected]
[14:07:44] [Server thread/WARN]: [AuthMe] ERROR: Duplicate entry '' for key 'email'
[14:07:44] [Server thread/INFO]: [AuthMe] Email sent to : tester
[14:07:44] [Server thread/INFO]: [AuthMe] tester registered 77.35.57.216
[14:08:11] [Server thread/INFO]: tester использовал команду: /login 6c7208r0
 
Код:
DataSource:
  mySQLColumnName: name
  mySQLTablename: dle_users
  mySQLUsername: user*****_admin
  backend: mysql
  mySQLColumnLastLogin: lastlogin
  mySQLDatabase: user*****_dle
  mySQLPort: '3306'
  mySQLColumnIp: logged_ip
  mySQLHost: ********************
  mySQLColumnPassword: password
  mySQLPassword: ***********
  caching: true
  mySQLlastlocX: x
  mySQLlastlocY: y
  mySQLlastlocZ: z
  mySQLlastlocWorld: world
  mySQLColumnEmail: email
  mySQLColumnId: user_id
  mySQLColumnLogged: isLogged
GroupOptions:
  UnregisteredPlayerGroup: ''
  RegisteredPlayerGroup: ''
  Permissions:
    PermissionsOnJoin: []
settings:
  sessions:
    enabled: true
    timeout: 10
    sessionExpireOnIpChange: true
  restrictions:
    allowChat: false
    allowCommands:
    - /login
    - /register
    - /l
    - /reg
    - /passpartu
    - /email
    - /captcha
    maxRegPerIp: 1
    maxNicknameLength: 20
    ForceSingleSession: true
    ForceSpawnLocOnJoinEnabled: false
    SaveQuitLocation: true
    AllowRestrictedUser: false
    AllowedRestrictedUser:
    - playername;127.0.0.1
    kickNonRegistered: false
    kickOnWrongPassword: false
    teleportUnAuthedToSpawn: true
    minNicknameLength: 3
    allowMovement: false
    timeout: 60
    allowedNicknameCharacters: '[a-zA-Z0-9_]*'
    allowedMovementRadius: 100
    enablePasswordVerifier: true
    ProtectInventoryBeforeLogIn: true
    displayOtherAccounts: false
    ForceSpawnOnTheseWorlds:
    - world
    - world_nether
    - world_the_end
    banUnsafedIP: false
    spawnPriority: essentials,multiverse,default,authme
    maxLoginPerIp: 0
    maxJoinPerIp: 0
  GameMode:
    ForceSurvivalMode: false
    ResetInventoryIfCreative: false
    ForceOnlyAfterLogin: false
  security:
    minPasswordLength: 4
    unLoggedinGroup: unLoggedinGroup
    passwordHash: SALTED2MD5
    doubleMD5SaltLength: 0
    supportOldPasswordHash: false
    unsafePasswords: []
  registration:
    enabled: true
    messageInterval: 5
    force: true
    enableEmailRegistrationSystem: true
    doubleEmailCheck: false
    forceKickAfterRegister: false
    forceLoginAfterRegister: false
  unrestrictions:
    UnrestrictedName: []
  messagesLanguage: ru
  forceCommands: []
  useWelcomeMessage: false
  broadcastWelcomeMessage: false
  forceCommandsAsConsole: []
ExternalBoardOptions:
  mySQLColumnSalt: ''
  mySQLColumnGroup: ''
  nonActivedUserGroup: -1
  mySQLOtherUsernameColumns: []
  bCryptLog2Round: 10
  phpbbTablePrefix: phpbb_
  phpbbActivatedGroupId: 2
  wordpressTablePrefix: wp_
permission:
  EnablePermissionCheck: false
BackupSystem:
  ActivateBackup: false
  OnServerStart: false
  OnServerStop: true
  MysqlWindowsPath: C:\\Program Files\\MySQL\\MySQL Server 5.1\\
Passpartu:
  enablePasspartu: false
Security:
  SQLProblem:
    stopServer: true
  ReloadCommand:
    useReloadCommandSupport: true
  console:
    noConsoleSpam: false
    removePassword: true
    logConsole: false
  captcha:
    useCaptcha: true
    maxLoginTry: 5
    captchaLength: 5
Converter:
  Rakamak:
    fileName: users.rak
    useIP: false
    ipFileName: UsersIp.rak
    newPasswordHash: SHA256
Email:
  mailSMTP: smtp.yandex.ru
  mailPort: 465
  mailAccount: mail@***************.su
  mailPassword: ************
  mailSenderName: *************
  RecoveryPasswordLength: 8
  mailSubject: Ваш новый пароль для сервера 
  mailText: 'Уважаемый <b><playername></b>, <br /><br /> Это ваш новый пароль для
    сервера <br /><br /> <servername> : <br /><br /> <b><generatedpass></b><br /><br
    />Не забудьте сменить пароль после входа! <br /> <b>/changepassword <generatedpass>
    Новый_Пароль</b>'
  maxRegPerEmail: 1
  recallPlayers: false
  delayRecall: 5
Hooks:
  multiverse: true
  chestshop: true
  bungeecord: false
  notifications: true
  disableSocialSpy: true
  useEssentialsMotd: false
Performances:
  useMultiThreading: true
Purge:
  useAutoPurge: true
  daysBeforeRemovePlayer: 60
  removePlayerDat: true
  removeEssentialsFile: true
  defaultWorld: world
  removeLimitedCreativesInventories: false
  removeAntiXRayFile: false
Protection:
  enableProtection: false
  countries:
  - US
  - GB
  countriesBlacklist:
  - A1
  enableAntiBot: false
  antiBotSensibility: 5
  antiBotDuration: 10
VeryGames:
  enableIpCheck: false
 
Код:
DataSource:
  mySQLColumnName: name
  mySQLTablename: dle_users
  mySQLUsername: user*****_admin
  backend: mysql
  mySQLColumnLastLogin: lastlogin
  mySQLDatabase: user*****_dle
  mySQLPort: '3306'
  mySQLColumnIp: logged_ip
  mySQLHost: ********************
  mySQLColumnPassword: password
  mySQLPassword: ***********
  caching: true
  mySQLlastlocX: x
  mySQLlastlocY: y
  mySQLlastlocZ: z
  mySQLlastlocWorld: world
  mySQLColumnEmail: email
  mySQLColumnId: user_id
  mySQLColumnLogged: isLogged
GroupOptions:
  UnregisteredPlayerGroup: ''
  RegisteredPlayerGroup: ''
  Permissions:
    PermissionsOnJoin: []
settings:
  sessions:
    enabled: true
    timeout: 10
    sessionExpireOnIpChange: true
  restrictions:
    allowChat: false
    allowCommands:
    - /login
    - /register
    - /l
    - /reg
    - /passpartu
    - /email
    - /captcha
    maxRegPerIp: 1
    maxNicknameLength: 20
    ForceSingleSession: true
    ForceSpawnLocOnJoinEnabled: false
    SaveQuitLocation: true
    AllowRestrictedUser: false
    AllowedRestrictedUser:
    - playername;127.0.0.1
    kickNonRegistered: false
    kickOnWrongPassword: false
    teleportUnAuthedToSpawn: true
    minNicknameLength: 3
    allowMovement: false
    timeout: 60
    allowedNicknameCharacters: '[a-zA-Z0-9_]*'
    allowedMovementRadius: 100
    enablePasswordVerifier: true
    ProtectInventoryBeforeLogIn: true
    displayOtherAccounts: false
    ForceSpawnOnTheseWorlds:
    - world
    - world_nether
    - world_the_end
    banUnsafedIP: false
    spawnPriority: essentials,multiverse,default,authme
    maxLoginPerIp: 0
    maxJoinPerIp: 0
  GameMode:
    ForceSurvivalMode: false
    ResetInventoryIfCreative: false
    ForceOnlyAfterLogin: false
  security:
    minPasswordLength: 4
    unLoggedinGroup: unLoggedinGroup
    passwordHash: SALTED2MD5
    doubleMD5SaltLength: 0
    supportOldPasswordHash: false
    unsafePasswords: []
  registration:
    enabled: true
    messageInterval: 5
    force: true
    enableEmailRegistrationSystem: true
    doubleEmailCheck: false
    forceKickAfterRegister: false
    forceLoginAfterRegister: false
  unrestrictions:
    UnrestrictedName: []
  messagesLanguage: ru
  forceCommands: []
  useWelcomeMessage: false
  broadcastWelcomeMessage: false
  forceCommandsAsConsole: []
ExternalBoardOptions:
  mySQLColumnSalt: ''
  mySQLColumnGroup: ''
  nonActivedUserGroup: -1
  mySQLOtherUsernameColumns: []
  bCryptLog2Round: 10
  phpbbTablePrefix: phpbb_
  phpbbActivatedGroupId: 2
  wordpressTablePrefix: wp_
permission:
  EnablePermissionCheck: false
BackupSystem:
  ActivateBackup: false
  OnServerStart: false
  OnServerStop: true
  MysqlWindowsPath: C:\\Program Files\\MySQL\\MySQL Server 5.1\\
Passpartu:
  enablePasspartu: false
Security:
  SQLProblem:
    stopServer: true
  ReloadCommand:
    useReloadCommandSupport: true
  console:
    noConsoleSpam: false
    removePassword: true
    logConsole: false
  captcha:
    useCaptcha: true
    maxLoginTry: 5
    captchaLength: 5
Converter:
  Rakamak:
    fileName: users.rak
    useIP: false
    ipFileName: UsersIp.rak
    newPasswordHash: SHA256
Email:
  mailSMTP: smtp.yandex.ru
  mailPort: 465
  mailAccount: mail@***************.su
  mailPassword: ************
  mailSenderName: *************
  RecoveryPasswordLength: 8
  mailSubject: Ваш новый пароль для сервера
  mailText: 'Уважаемый <b><playername></b>, <br /><br /> Это ваш новый пароль для
    сервера <br /><br /> <servername> : <br /><br /> <b><generatedpass></b><br /><br
    />Не забудьте сменить пароль после входа! <br /> <b>/changepassword <generatedpass>
    Новый_Пароль</b>'
  maxRegPerEmail: 1
  recallPlayers: false
  delayRecall: 5
Hooks:
  multiverse: true
  chestshop: true
  bungeecord: false
  notifications: true
  disableSocialSpy: true
  useEssentialsMotd: false
Performances:
  useMultiThreading: true
Purge:
  useAutoPurge: true
  daysBeforeRemovePlayer: 60
  removePlayerDat: true
  removeEssentialsFile: true
  defaultWorld: world
  removeLimitedCreativesInventories: false
  removeAntiXRayFile: false
Protection:
  enableProtection: false
  countries:
  - US
  - GB
  countriesBlacklist:
  - A1
  enableAntiBot: false
  antiBotSensibility: 5
  antiBotDuration: 10
VeryGames:
  enableIpCheck: false
Ничего не заметил..(
 
Покажи структуру таблицы в которую вносишь email.
 
За дурака держишь? Гуглил не 1 раз, ничего стоящего не нашёл.
Плохо гуглил. Удаляй индекс уникальности поля email (с дупликатами ошибок не будет если по какой-то причине у тебя не заносятся данные в БД).
Покажи структуру таблицы.
 
Назад
Верх Низ