Fixes and cleanup for user pending/registration calls

This commit is contained in:
Nabeel Shahzad
2017-12-22 16:32:21 -06:00
parent 81ac281d9f
commit babdca627e
16 changed files with 237 additions and 60 deletions

View File

@@ -57,6 +57,10 @@ class User extends Authenticatable
'balance' => 'double',
];
public static $rules = [
];
public function getPilotIdAttribute($value)
{
$length = setting('pilots.id_length');