Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   inactive users, posted by Devin Bougie on Wed Apr 27 21:27:36 2016 
    icon2.gif   Re: inactive users, posted by Stefano Lacaprara on Wed May 31 11:45:06 2017 
       icon4.gif   Re: inactive users, posted by Andreas Luedeke on Wed May 31 13:28:51 2017 
          icon2.gif   Re: inactive users, posted by Stefano Lacaprara on Wed May 31 16:02:46 2017 
             icon2.gif   Re: inactive users, posted by Stefano Lacaprara on Mon Feb 26 18:27:09 2018 elogd.c
                icon2.gif   Re: inactive users, posted by Stefan Ritt on Fri Dec 21 14:59:05 2018 
Message ID: 68745     Entry time: Mon Feb 26 18:27:09 2018     In reply to: 68628     Reply to this: 68880
Icon: Reply  Author: Stefano Lacaprara  Author Email: stefano.lacaprara@pd.infn.it 
Category: Bug report  OS: Linux  ELOG Version: 3.1.3 
Subject: Re: inactive users 
Hi,
  sorry to bother again on this issue, but it is causing me some trouble, as many of my users are using the "SetNone" button in their config page, and doing so they deactivate their account, which I have to 
re-activate manually.

The warning about "Are you sure you want to deactivate your own account ..." is actually triggered only when someone toggle the "active" radio button, but not when the "SetNone" function is used. In that 
case no warning is present, and the user just deactivate his/her account. I'm sure that this is not the intended behavior.

I attach a modified version of elogd.c (based on git c1866af75bb2fe62aa868c4cf562f43a08e4b499 ) with the modified javascript I proposed earlier in this thread.

best,
  Stefano
Attachment 1: elogd.c  1014 kB  | Show | Show all
ELOG V3.1.5-2eba886