diff options
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index be90d38..9efdd11 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -217,6 +217,12 @@ namespace OpenSim.Services.LLLoginService | |||
217 | return LLFailedLoginResponse.UserProblem; | 217 | return LLFailedLoginResponse.UserProblem; |
218 | } | 218 | } |
219 | 219 | ||
220 | if (account.UserLevel < 0) | ||
221 | { | ||
222 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: Unverified account"); | ||
223 | return LLFailedLoginResponse.UnverifiedAccountProblem; | ||
224 | } | ||
225 | |||
220 | if (account.UserLevel < m_MinLoginLevel) | 226 | if (account.UserLevel < m_MinLoginLevel) |
221 | { | 227 | { |
222 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); | 228 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); |