mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 11:15:19 +01:00
Moved Email settings
This commit is contained in:
parent
61abee86b0
commit
7142ed845b
40
NewAuthMeConf/emailSystem.yml
Normal file
40
NewAuthMeConf/emailSystem.yml
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
emailSystem:
|
||||||
|
# Do you want to replace the Password registration with an Email registration method?
|
||||||
|
enableEmailRegistration: false
|
||||||
|
# Do you want to enable the double check of the email address during a player registration?
|
||||||
|
# When it's true, registration require that kind of command:
|
||||||
|
# /register <email> <confirmEmail>
|
||||||
|
doubleEmailCheck: true
|
||||||
|
# Like maxRegPerIp but with emails
|
||||||
|
maxRegPerEmail: 1
|
||||||
|
# Do you want to recall players to add an email to their accounts?
|
||||||
|
recallPlayers: true
|
||||||
|
# Delay in minute for the recall scheduler
|
||||||
|
delayRecall: 5
|
||||||
|
|
||||||
|
passwordRecovery:
|
||||||
|
# Recovery password length
|
||||||
|
RecoveryPasswordLength: 8
|
||||||
|
# Recovery Email subject
|
||||||
|
mailSubject: 'Your new AuthMe Password'
|
||||||
|
# Recovery Email text
|
||||||
|
mailText: 'Dear <playername>, <br /><br /> This is your new AuthMe password for the server <br /><br /> <servername> : <br /><br /> <generatedpass><br /><br />Do not forget to change password after login! <br /> /changepassword <generatedpass> newPassword'
|
||||||
|
|
||||||
|
smtpOptions:
|
||||||
|
# SMTP server host
|
||||||
|
mailSMTP: smtp.gmail.com
|
||||||
|
# SMTP server port
|
||||||
|
mailPort: 465
|
||||||
|
# Email account that sends the mails
|
||||||
|
mailAccount: ''
|
||||||
|
# Email account's password
|
||||||
|
mailPassword: ''
|
||||||
|
# Custom SenderName, that replace the mailAccount name in the emails
|
||||||
|
mailSenderName: ''
|
||||||
|
|
||||||
|
emailSecurity:
|
||||||
|
# Blacklisted domains for emails
|
||||||
|
emailBlacklist:
|
||||||
|
- 10minutemail.com
|
||||||
|
# Do you like a Whitelist instead of a Blacklist?
|
||||||
|
blacklistAsWhitelist: false
|
@ -23,54 +23,12 @@ registration:
|
|||||||
minUsernameLength: 4
|
minUsernameLength: 4
|
||||||
# Regex syntax allowed in player's username
|
# Regex syntax allowed in player's username
|
||||||
allowedNicknameCharacters: '[a-zA-Z0-9_]*'
|
allowedNicknameCharacters: '[a-zA-Z0-9_]*'
|
||||||
|
|
||||||
# Do you want to kick players after a successful registration?
|
# Do you want to kick players after a successful registration?
|
||||||
# Do not use this option with the loginAfterRegister feature below!
|
# Do not use this option with the loginAfterRegister feature below!
|
||||||
kickAfterRegistration: false
|
kickAfterRegistration: false
|
||||||
# Do you want to force the player to login after a successful registration?
|
# Do you want to force the player to login after a successful registration?
|
||||||
loginAfterRegister: false
|
loginAfterRegister: false
|
||||||
|
|
||||||
emailSystem:
|
|
||||||
# Do you want to replace the Password registration with an Email registration method?
|
|
||||||
enableEmailRegistration: false
|
|
||||||
# Do you want to enable the double check of the email address during a player registration?
|
|
||||||
# When it's true, registration require that kind of command:
|
|
||||||
# /register <email> <confirmEmail>
|
|
||||||
doubleEmailCheck: true
|
|
||||||
# Like maxRegPerIp but with emails
|
|
||||||
maxRegPerEmail: 1
|
|
||||||
# Do you want to recall players to add an email to their accounts?
|
|
||||||
recallPlayers: true
|
|
||||||
# Delay in minute for the recall scheduler
|
|
||||||
delayRecall: 5
|
|
||||||
|
|
||||||
passwordRecovery:
|
|
||||||
# Recovery password length
|
|
||||||
RecoveryPasswordLength: 8
|
|
||||||
# Recovery Email subject
|
|
||||||
mailSubject: 'Your new AuthMe Password'
|
|
||||||
# Recovery Email text
|
|
||||||
mailText: 'Dear <playername>, <br /><br /> This is your new AuthMe password for the server <br /><br /> <servername> : <br /><br /> <generatedpass><br /><br />Do not forget to change password after login! <br /> /changepassword <generatedpass> newPassword'
|
|
||||||
|
|
||||||
smtpOptions:
|
|
||||||
# SMTP server host
|
|
||||||
mailSMTP: smtp.gmail.com
|
|
||||||
# SMTP server port
|
|
||||||
mailPort: 465
|
|
||||||
# Email account that sends the mails
|
|
||||||
mailAccount: ''
|
|
||||||
# Email account's password
|
|
||||||
mailPassword: ''
|
|
||||||
# Custom SenderName, that replace the mailAccount name in the emails
|
|
||||||
mailSenderName: ''
|
|
||||||
|
|
||||||
emailSecurity:
|
|
||||||
# Blacklisted domains for emails
|
|
||||||
emailBlacklist:
|
|
||||||
- 10minutemail.com
|
|
||||||
# Do you like a Whitelist instead of a Blacklist?
|
|
||||||
blacklistAsWhitelist: false
|
|
||||||
|
|
||||||
login:
|
login:
|
||||||
# How many players per IP can join the server concurrently?
|
# How many players per IP can join the server concurrently?
|
||||||
maxInstanceForIP: 1
|
maxInstanceForIP: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user