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 127c4b2..6c66414 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -228,6 +228,12 @@ namespace OpenSim.Services.LLLoginService | |||
228 | return LLFailedLoginResponse.UserProblem; | 228 | return LLFailedLoginResponse.UserProblem; |
229 | } | 229 | } |
230 | 230 | ||
231 | if (account.UserLevel < 0) | ||
232 | { | ||
233 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: Unverified account"); | ||
234 | return LLFailedLoginResponse.UnverifiedAccountProblem; | ||
235 | } | ||
236 | |||
231 | if (account.UserLevel < m_MinLoginLevel) | 237 | if (account.UserLevel < m_MinLoginLevel) |
232 | { | 238 | { |
233 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); | 239 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); |