@@ -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; |
@@ -243,7 +243,7 @@ |
||
| 243 | 243 | */ |
| 244 | 244 | public function formatUptime($seconds) |
| 245 | 245 | { |
| 246 | - if( empty($seconds) ) { |
|
| 246 | + if (empty($seconds)) { |
|
| 247 | 247 | $seconds = 0; |
| 248 | 248 | } |
| 249 | 249 | $from = new \DateTime("@0"); |