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.
1 parent 472223a commit dab2f84Copy full SHA for dab2f84
src/Auth/User.php
@@ -190,7 +190,7 @@ public function verifyEmail(): bool
190
return true;
191
}
192
193
- if (!isset($this->data['email_verified_at'])) {
+ if (!array_key_exists('email_verified_at', $this->data)) {
194
$this->db->query('ALTER TABLE ' . Config::get('db.table') . ' ADD COLUMN email_verified_at TIMESTAMP NULL DEFAULT NULL')->execute();
195
196
0 commit comments