mirror of
https://github.com/anonaddy/anonaddy
synced 2026-04-26 01:25:06 +02:00
Added Laravel Pint for formatting
This commit is contained in:
@@ -22,13 +22,13 @@ class SettingController extends Controller
|
||||
'user' => user(),
|
||||
'recipientOptions' => user()->verifiedRecipients,
|
||||
'authSecret' => user()->two_factor_secret,
|
||||
'qrCode' => $qrCode
|
||||
'qrCode' => $qrCode,
|
||||
]);
|
||||
}
|
||||
|
||||
public function destroy(DestroyAccountRequest $request)
|
||||
{
|
||||
if (!Hash::check($request->current_password_delete, user()->password)) {
|
||||
if (! Hash::check($request->current_password_delete, user()->password)) {
|
||||
return back()->withErrors(['current_password_delete' => 'Incorrect password entered']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user