TinyPortal

Development => Feedback => Topic started by: marcosbr3 on July 24, 2020, 04:35:57 AM

Title: user block not login
Post by: marcosbr3 on July 24, 2020, 04:35:57 AM
 SMF 2.1-RC2 login error :doh:
Title: Re: user block not login
Post by: lurkalot on July 24, 2020, 07:33:14 AM
A couple of questions for you first,

How old is the version of 2.1 you're using and where did you download it from?

What version of TinyPortal are you running? Do you only get the error when logging in via that TinyPortal user block?

Title: Re: user block not login
Post by: marcosbr3 on July 25, 2020, 04:32:37 AM
nightly(github) smf2.1 and TinyPortal 1.6.7.
clean test forum. But I have already tested it in 2 other forums.

I'm from Brazil and I use a translator!
Title: Re: user block not login
Post by: @rjen on July 25, 2020, 09:03:58 AM
I am seeing the same on Tp 2.0.0 with recent SMF 2.1 build... not sure why this is happening though
Title: Re: user block not login
Post by: lurkalot on July 25, 2020, 10:11:03 AM
Quote from: @rjen on July 25, 2020, 09:03:58 AM
I am seeing the same on Tp 2.0.0 with recent SMF 2.1 build... not sure why this is happening though

Not sure but might have something to do with the fix for this from 19 days ago. "token error on incorrect password" https://github.com/SimpleMachines/SMF2.1/issues/6127

Title: Re: user block not login
Post by: @rjen on July 25, 2020, 10:39:25 AM
May be a clue, but the SMF issue and fix do not make the user block work again: I get the same error without and with the fix...
Title: Re: user block not login
Post by: lurkalot on July 25, 2020, 10:48:34 AM
I'm wondering if we need to add the (some) code to our own login form, like we had to with the session check issue way back.  To be honest I don't know.
Title: Re: user block not login
Post by: @rjen on July 25, 2020, 10:54:07 AM
I don't know either, cannot find what's wrong, maybe tino has an idea
Title: Re: user block not login
Post by: lurkalot on July 25, 2020, 11:18:27 AM
Quote from: @rjen on July 25, 2020, 10:54:07 AM
I don't know either, cannot find what's wrong, maybe tino has an idea

Yep I agree maybe one for Tino.  ;)

I just checked my last test site build 14 June, and it also spits that error on page when logging in from the TP user block.
Title: Re: user block not login
Post by: lurkalot on July 25, 2020, 07:14:58 PM
I have submitted this issue on GitHub https://github.com/Tinyportal/TinyPortal/issues/679

marcosbr3, thank you for bringing this to our attention.  ;)
Title: Re: user block not login
Post by: tino on July 25, 2020, 08:45:59 PM
It might be related to https://github.com/SimpleMachines/SMF2.1/issues/6192

Not sure when I'll get a chance to look in to it mind.
Title: Re: user block not login
Post by: marcosbr3 on July 29, 2020, 07:00:47 AM
Grato. Estou esperando! O0
Title: Re: user block not login
Post by: @rjen on July 30, 2020, 09:43:28 PM
Fixed the problem for the next TP release. For 1.6.7 you can use attached file as a replacement...
Title: Re: user block not login
Post by: marcosbr3 on July 30, 2020, 11:48:00 PM
100%. Thank you very much! ;D ;D ;D ;D