Jump to content

ProcessLoginPersistent


Craig
 Share

Recommended Posts

Actually, I think it needs to be:

$this->destroyLogins($this->wire('user')->id);

because I am getting this error:

HP Notice: Object of class ProcessWire\User could not be converted to int in /var/www/html/site/assets/cache/FileCompiler/site/modules/LoginPersist/LoginPersist.module:400

Link to comment
Share on other sites

  On 6/23/2020 at 5:53 PM, teppo said:

Hey @adrian! I'm pretty sure that those issues were already fixed. Could you check that you've got 2.1.0 installed?

Expand  

Thanks @teppo - I actually noticed there was a new version the other day and used the PW Upgrades module to update, but for some reason it's not actually updating the module (I just tried again) - I assumed it had worked. 

Anyway, I manually updated to 2.1.0 and you're correct of course - it seems like they have been fixed.

  • Like 2
Link to comment
Share on other sites

  On 6/23/2020 at 5:59 PM, adrian said:

used the PW Upgrades module to update, but for some reason it's not actually updating the module (I just tried again) - I assumed it had worked. 

Expand  

Hi! Glad you've got it updated (in the end)... is the problem you had with PW Upgrades, or something I've done (or not done!) with the LoginPersist module?

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...