diff options
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 4b7cb5d..602616f 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -227,6 +227,12 @@ namespace OpenSim.Services.LLLoginService | |||
227 | return LLFailedLoginResponse.UserProblem; | 227 | return LLFailedLoginResponse.UserProblem; |
228 | } | 228 | } |
229 | 229 | ||
230 | if (account.UserLevel < 0) | ||
231 | { | ||
232 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: Unverified account"); | ||
233 | return LLFailedLoginResponse.UnverifiedAccountProblem; | ||
234 | } | ||
235 | |||
230 | if (account.UserLevel < m_MinLoginLevel) | 236 | if (account.UserLevel < m_MinLoginLevel) |
231 | { | 237 | { |
232 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); | 238 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); |
@@ -685,7 +691,11 @@ namespace OpenSim.Services.LLLoginService | |||
685 | } | 691 | } |
686 | } | 692 | } |
687 | } | 693 | } |
694 | <<<<<<< HEAD:OpenSim/Services/LLLoginService/LLLoginService.cs | ||
695 | } | ||
696 | ======= | ||
688 | } | 697 | } |
698 | >>>>>>> master:OpenSim/Services/LLLoginService/LLLoginService.cs | ||
689 | dest = destination; | 699 | dest = destination; |
690 | if (success) | 700 | if (success) |
691 | return aCircuit; | 701 | return aCircuit; |