Lot's of bug fixes
This commit is contained in:
parent
ad320963fc
commit
7718ed6c32
196 changed files with 51167 additions and 3010 deletions
|
@ -31,6 +31,9 @@ class UUID implements Rule
|
|||
if(empty($uuid))
|
||||
return false;
|
||||
|
||||
if($uuid === $value)
|
||||
return false;
|
||||
|
||||
$user = User::where('uuid', '=', $uuid)->first();
|
||||
return empty($user);
|
||||
}
|
||||
|
@ -42,6 +45,6 @@ class UUID implements Rule
|
|||
*/
|
||||
public function message()
|
||||
{
|
||||
return 'Username: :attribute is already in use';
|
||||
return 'Username: :value is incorrect or already in use';
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue