@@ -56,7 +56,7 @@ |
||
| 56 | 56 | if ($this->input('update') == 'password') { |
| 57 | 57 | $user_id = $this->input('user_id'); |
| 58 | 58 | $rules = ['password' => 'required|min:5|max:255', |
| 59 | - 'password_confirmation' => 'required|same:password', |
|
| 59 | + 'password_confirmation' => 'required|same:password', |
|
| 60 | 60 | ]; |
| 61 | 61 | if (!Auth::user()->isAdmin() || Auth::id() == $user_id) { |
| 62 | 62 | $rules['current_password'] = 'required|password:'.$user_id; |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | if (!$this->option('dry-run')) { |
| 72 | - Settings::flush(); // clear the settings cache |
|
| 72 | + Settings::flush(); // clear the settings cache |
|
| 73 | 73 | DbConfig::updateOrCreate(['config_name' => 'settings.migrated'], ['config_value' => true]); |
| 74 | 74 | } |
| 75 | 75 | } |