mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Apply fixes from StyleCI (#581)
This commit is contained in:
@@ -67,15 +67,15 @@ class AccountController extends Controller
|
||||
|
||||
$data['password'] = $request->input('new_password');
|
||||
|
||||
// Request to update account Email
|
||||
// Request to update account Email
|
||||
} elseif ($request->input('do_action') === 'email') {
|
||||
$data['email'] = $request->input('new_email');
|
||||
|
||||
// Request to update account Identity
|
||||
// Request to update account Identity
|
||||
} elseif ($request->input('do_action') === 'identity') {
|
||||
$data = $request->only(['name_first', 'name_last', 'username']);
|
||||
|
||||
// Unknown, hit em with a 404
|
||||
// Unknown, hit em with a 404
|
||||
} else {
|
||||
return abort(404);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user