API APP DOCTOR

This commit is contained in:
ivan-sim
2024-04-23 16:28:59 +07:00
parent 2cf00ac927
commit 1cb3b2d3f0
15 changed files with 811 additions and 10 deletions

View File

@@ -7,4 +7,6 @@ return [
'password' => 'Password wrong. Please try again.',
'read_notification' => 'Notification has been read.',
'already_exists' => 'Data already exists.',
'logout' => 'User logged out successfully.',
'token_expired' => 'Token has expired. Please re-request the token.'
];

View File

@@ -6,5 +6,7 @@ return [
'max' => [
'file' => ':attribute max size is :max.',
],
'email' => 'Invalid email format.'
];
'email' => 'Invalid email format.',
'regex' => 'The :attribute must contain at least one uppercase letter, one lowercase letter, and one numeric digit.',
'min' => 'The :attribute must be at least 8 characters.'
];

View File

@@ -7,4 +7,6 @@ return [
'password' => 'Password salah. Silakan coba lagi.',
'read_notification' => 'Notifikasi telah dibaca.',
'already_exists' => 'Data sudah ada.',
'logout' => 'User berhasil logout.',
'token_expired' => 'Token telah kedaluwarsa. Silakan minta ulang token.'
];

View File

@@ -6,5 +6,7 @@ return [
'max' => [
'file' => ':attribute tidak boleh melebihi :max.',
],
'email' => 'Format email salah.'
];
'email' => 'Format email salah.',
'regex' => ':attribute harus berisi setidaknya satu huruf besar, satu huruf kecil, dan satu digit angka.',
'min' => ':attribute setidaknya harus terdiri dari 8 karakter.'
];