Skip to content

Commit 904e3d1

Browse files
fix: LoginModel cannot use uuid for id column (#1046)
* change LoginModel validation behavior * Update src/Models/LoginModel.php Co-authored-by: Pooya Parsa <pooya_parsa_dadashi@yahoo.com> --------- Co-authored-by: Pooya Parsa <pooya_parsa_dadashi@yahoo.com>
1 parent 0802f39 commit 904e3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/LoginModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class LoginModel extends BaseModel
3939
'id_type' => 'required',
4040
'identifier' => 'permit_empty|string',
4141
'user_agent' => 'permit_empty|string',
42-
'user_id' => 'permit_empty|integer',
42+
'user_id' => 'permit_empty',
4343
'date' => 'required',
4444
];
4545
protected $validationMessages = [];

0 commit comments

Comments
 (0)