Reduce docker api image size, fix issues

This commit is contained in:
Julien Nahum
2024-08-28 15:20:39 +02:00
parent 79d3dd7888
commit 2503595786
8 changed files with 989 additions and 992 deletions

View File

@@ -40,13 +40,11 @@ class ProfileController extends Controller
'password.not_in' => "Please another password other than 'password'."
]);
ray('in', $request->password);
$user = $request->user();
$user->update([
'email' => $request->email,
'password' => bcrypt($request->password),
]);
ray($user);
Cache::forget('initial_user_setup_complete');
Cache::forget('max_user_id');