We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 54b6f73 + c0388f7 commit 8d3a10aCopy full SHA for 8d3a10a
src/Http/Controller/ApiController.php
@@ -279,9 +279,9 @@ public function register()
279
$success = $encrypter->decrypt($this->request->get('success-verification'));
280
$error = $encrypter->decrypt($this->request->get('error-verification'));
281
282
- $email = strtolower($this->request->email);
+ $email = $encrypter->decrypt($this->request->email);
283
284
- if ($user = $users->findBy('email', $encrypter->decrypt($email))
+ if ($user = $users->findBy('email', strtolower($email))
285
and $activator->activate($user, $encrypter->decrypt($this->request->token))) {
286
287
$user->setAttribute('enabled', true);
0 commit comments