Jump to content
I will no longer be developing resources for Invision Community Suite ×
By fans, for fans. By fans, for fans. By fans, for fans.

Quick report for (NE) Application Update Checker


Recommended Posts

Posted

I got a missing csrf error message when trying to delete an entry.

'link' => Url::internal('app=neappupdatechecker&module=update&controller=ucresources&do=deleteResource&id=' . $row['id']),

I added it on mine but then it wasn't deleting, just redirecting, due to the condition in the method.

Thanks. 👍

Posted

More detail please:

Here is what should happen:

  1. You get a prompt to confirm the deletion (yes/no)
  2. You answer yes, the deletion is performed via Ajax
  3. Page refreshes, you get a flash notification.

Are you indicating that those items aren't happening, or do happen but you then get the CSRF message? (I'm assuming you mean "The CSRF protection key did not match.....")

Posted (edited)
13 minutes ago, Nathan Explosion said:

Are you indicating that those items aren't happening, or do happen but you then get the CSRF message? (I'm assuming you mean "The CSRF protection key did not match.....")

Yep, I got that message. After adding the ->csrf() to the link, it redirects to the same page; no confirm stuff. 👍

Edited by Adriano Faria
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...