Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function submitPasswordPolicy(PasswordPolicyRequest $request) |
||
13 | { |
||
14 | (new PasswordPolicy)->setPolicy($request); |
||
15 | Log::notice('User '.Auth::user()->full_name.' updated User Password Policy requiring resets every '.$request->expire.' days'); |
||
16 | |||
17 | return response()->json(['success' => true]); |
||
18 | } |
||
20 |