From 306b79b22a84eacad09d6941e719b3f792bd22a3 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 1 Jun 2015 17:55:52 +0930 Subject: [PATCH] Password cannot be null --- framework/core/src/Core/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Core/Models/User.php b/framework/core/src/Core/Models/User.php index fc80c87ab..e29ea5fb5 100755 --- a/framework/core/src/Core/Models/User.php +++ b/framework/core/src/Core/Models/User.php @@ -174,7 +174,7 @@ class User extends Model */ public function setPasswordAttribute($value) { - $this->attributes['password'] = $value ? static::$hasher->make($value) : null; + $this->attributes['password'] = $value ? static::$hasher->make($value) : ''; } /**