From 7ea355a8ade934c176e49a85b7ae946edd4df735 Mon Sep 17 00:00:00 2001 From: Andrea Pollastri Date: Tue, 5 May 2020 14:30:58 +0200 Subject: [PATCH] DB reset user fix --- app/Http/Controllers/DatabasesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/DatabasesController.php b/app/Http/Controllers/DatabasesController.php index 43785add..76c54f9a 100644 --- a/app/Http/Controllers/DatabasesController.php +++ b/app/Http/Controllers/DatabasesController.php @@ -42,7 +42,7 @@ public function reset(Request $request) { $application->save(); $app = [ 'user' => $request->username, - 'pass' => $request->password, + 'pass' => $application->password, 'dbname' => $request->username, 'dbuser' => $request->username, 'dbpass' => $pass,