@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | |
147 | 147 | $nextChange = config('users.passExpires') != null ? Carbon::now()->addDays(config('users.passExpires')) : null; |
148 | 148 | |
149 | - // Update the password |
|
149 | + // Update the password |
|
150 | 150 | User::find($userData->user_id)->update( |
151 | 151 | [ |
152 | 152 | 'password' => bcrypt($request->newPass), |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | |
188 | 188 | $nextChange = isset($request->force_change) && $request->force_change == 'on' ? Carbon::now()->subDay() : null; |
189 | 189 | |
190 | - // Update the user data |
|
190 | + // Update the user data |
|
191 | 191 | User::find($id)->update( |
192 | 192 | [ |
193 | 193 | 'password' => bcrypt($request->password), |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | // Deactivae an active user |
261 | 261 | public function destroy($id) |
262 | 262 | { |
263 | - // Update the user data |
|
263 | + // Update the user data |
|
264 | 264 | User::find($id)->update( |
265 | 265 | [ |
266 | 266 | 'active' => 0 |