Hi,

if version of legal agreements is 0, a user never could login. See attached patch.

CommentFileSizeAuthor
#1 nologin-version0-1320866.patch533 bytespebosi

Comments

pebosi’s picture

StatusFileSize
new533 bytes

Patch.

robert castelo’s picture

Why would legal agreement ever be zero?

Is this an issue that actually causes a bug?

robert castelo’s picture

Status: Active » Postponed (maintainer needs more info)
marcoka’s picture

i wonder how you achieved it to be 0. have never had that. pleas provide a way to reproduce that.

serkanb’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Active

Even though this is a bit of old...
I had the same issue, and I think I know what he did: If you select "Language specific users" for "Ask to re-accept" on the first terms you create, you will end up with version 0 revision 1.
Now that I think about it... this doesn't makes sense, but it isn't caught by the module, which it should be I think.

I had fixed it by checking if $legal_account itself is empty, rather than the version, but if the module just checks this on submission... it would also solve the problem.

robert castelo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.