We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 658b7d9 commit c810de8Copy full SHA for c810de8
1 file changed
app/Http/Controllers/UserController.php
@@ -312,18 +312,6 @@ public function emitOTP()
312
throw new ValidationException("empty send param.");
313
}
314
315
- $user = $this->auth_service->getUserByUsername($username);
316
-
317
- if (!$user->isActive())
318
- throw new ValidationException
319
- (
320
- sprintf
321
322
- "Your user account is currently locked. Please <a href='mailto:%s'>contact support</a> for further assistance.",
323
- Config::get("app.help_email")
324
- )
325
- );
326
327
$client = null;
328
329
// check if we have a former oauth2 request
0 commit comments