• Unvalidate validated users

    From Analog@21:2/123 to G00r00 on Tue Jan 28 22:26:19 2020
    For some reason I can't figure out how to unvalidate a user once they have email validated. I edit their validated date in the User Editor by deleting
    it and it rolls back to 1999 automatically. But they are still validated.

    Why do you ask would I want to do this? Well specifically for testing the validator. I have to make a bunch of fake accounts and go through the new user flow everytime. Plus they show up in the last callers which is not ideal.

    Cheers,

    |19|15┌─|16|07┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |07└─┘├─┐ |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |11■ |07└|19|15─|16|07┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |12≡|15A|07n|08al|07o|15g|12≡ |08:>.|13F|05dn |131|08:|13305|08/|132|08.
    |08:>.|15S|08ci |1577|08:|151|08/|15131|08.
    |08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A44 2020/01/28 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From g00r00@21:1/108 to Analog on Wed Jan 29 01:49:43 2020
    For some reason I can't figure out how to unvalidate a user once they
    have email validated. I edit their validated date in the User Editor by deleting it and it rolls back to 1999 automatically. But they are still validated.

    Why do you ask would I want to do this? Well specifically for testing the validator. I have to make a bunch of fake accounts and go through the
    new user flow everytime. Plus they show up in the last callers which is not ideal.

    If you use CTRL+U in the user editor you can upgrade or downgrade their
    access profile.

    --- Mystic BBS v1.12 A44 2020/01/29 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From Analog@21:2/123 to g00r00 on Wed Jan 29 08:11:10 2020
    If you use CTRL+U in the user editor you can upgrade or downgrade their access profile.

    Yes, but how do you de-validate that they have been email validated? How do
    you make the OV flag return False is what I meant? I want to run through my validation routine, including email validation, but once a user is email validated I can't figure out how to reset them back to unvalidated.

    Does this make more sense?

    |19|15┌─|16|07┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |07└─┘├─┐ |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |11■ |07└|19|15─|16|07┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |12≡|15A|07n|08al|07o|15g|12≡ |08:>.|13F|05dn |131|08:|13305|08/|132|08.
    |08:>.|15S|08ci |1577|08:|151|08/|15131|08.
    |08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A44 2020/01/28 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From Lupine Furmen@21:4/102 to Analog on Wed Jan 29 19:02:36 2020
    If they are temporary testing accounts, why not just delete them rather than devalidate or downgrade their SL?
    ---

    -Dallas Vinson

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Before the Web (21:4/102)
  • From Lupine Furmen@21:4/102 to Analog on Wed Jan 29 19:05:08 2020
    Yes, but how do you de-validate that they have been email validated? How do you make the OV flag return False is what I meant? I want to run through my validation routine, including email validation, but once a
    user is email validated I can't figure out how to reset them back to unvalidated.

    I would need to take a look at the code you are using to perform the
    validation to be able to tell you how to undo it.
    ---

    -Dallas Vinson

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Before the Web (21:4/102)
  • From g00r00@21:1/108 to Analog on Wed Jan 29 21:02:34 2020
    For some reason I can't figure out how to unvalidate a user once they
    have email validated. I edit their validated date in the User Editor by deleting it and it rolls back to 1999 automatically. But they are still validated.

    I'm not sure I have a way to do it through the user editor just yet. As far
    as the BBS itself, when a user changes their e-mail address it should reset
    it.

    In the next build I will add something into the user editor that will ask if you want to reset their validation date whenever the e-mail address is
    changed. At the very least then you can just change their e-amil address, exit, and then jump back in again to set their e-mail address to something else. Its not ideal, but at least you can do it.

    --- Mystic BBS v1.12 A44 2020/01/29 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From Analog@21:2/123 to g00r00 on Thu Jan 30 09:16:59 2020
    address is changed. At the very least then you can just change their e-amil address, exit, and then jump back in again to set their e-mail address to something else. Its not ideal, but at least you can do it.

    g00r00,

    Perfect. Yes when you're doing a bunch of login flow testing, sometime you
    have to validate a few times to make sure menus and ACS are working as expected. This is a fine answer. Thanks

    |19|15┌─|16|07┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |07└─┘├─┐ |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |11■ |07└|19|15─|16|07┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |12≡|15A|07n|08al|07o|15g|12≡ |08:>.|13F|05dn |131|08:|13305|08/|132|08.
    |08:>.|15S|08ci |1577|08:|151|08/|15131|08.
    |08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A44 2020/01/28 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From Analog@21:2/123 to Lupine Furmen on Thu Jan 30 09:22:20 2020
    If they are temporary testing accounts, why not just delete them rather than devalidate or downgrade their SL?

    You're missing the point here. My testing accounts aren't temporary. THey're
    my testing accounts. I use them to do things that my sysop account can't do because of flags, ACS, validation levels. In order to test things properly I like to do everything at the right access levels in order to ensure that
    things work for my users. One of the things is email validation. It uses a
    very specific flag. I didn't want to have to delete every account I make just to test this. g00r00 provided an answer that should work.

    Cheers,

    |19|15┌─|16|07┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |07└─┘├─┐ |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |11■ |07└|19|15─|16|07┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |12≡|15A|07n|08al|07o|15g|12≡ |08:>.|13F|05dn |131|08:|13305|08/|132|08.
    |08:>.|15S|08ci |1577|08:|151|08/|15131|08.
    |08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A44 2020/01/28 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From Analog@21:2/123 to Lupine Furmen on Thu Jan 30 09:37:18 2020
    I would need to take a look at the code you are using to perform the validation to be able to tell you how to undo it.

    Just for completeness on the issue, this is w.r.t. Mystic's internal email validator. Nothing I wrote. Thanks.


    Cheers,

    |19|15┌─|16|07┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |07└─┘├─┐ |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |11■ |07└|19|15─|16|07┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |12≡|15A|07n|08al|07o|15g|12≡ |08:>.|13F|05dn |131|08:|13305|08/|132|08.
    |08:>.|15S|08ci |1577|08:|151|08/|15131|08.
    |08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A44 2020/01/28 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From g00r00@21:1/108 to Analog on Thu Jan 30 12:09:16 2020
    address is changed. At the very least then you can just change their e-amil address, exit, and then jump back in again to set their e-mail address to something else. Its not ideal, but at least you can do it

    g00r00,

    Perfect. Yes when you're doing a bunch of login flow testing, sometime
    you have to validate a few times to make sure menus and ACS are working
    as expected. This is a fine answer. Thanks

    I have made the change in the build I just put up today. You can now set the date to 01/01/1970 and it will report as unvalidated. There is a note about
    it in the user editor now!

    --- Mystic BBS v1.12 A44 2020/01/29 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From Analog@21:2/123 to g00r00 on Thu Jan 30 16:03:50 2020
    I have made the change in the build I just put up today. You can now
    set the date to 01/01/1970 and it will report as unvalidated. There is
    a note about it in the user editor now!

    You're the man! You really didn't have to make one change for me. But I'll definitely use it!

    Cheers,

    |19|15┌─|16|07┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |07└─┘├─┐ |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |11■ |07└|19|15─|16|07┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |12≡|15A|07n|08al|07o|15g|12≡ |08:>.|13F|05dn |131|08:|13305|08/|132|08.
    |08:>.|15S|08ci |1577|08:|151|08/|15131|08.
    |08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A44 2020/01/28 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From g00r00@21:1/108 to Analog on Thu Jan 30 23:15:34 2020
    I have made the change in the build I just put up today. You can now set the date to 01/01/1970 and it will report as unvalidated. There a note about it in the user editor now!

    You're the man! You really didn't have to make one change for me. But
    I'll definitely use it!

    You brought up a good point and it wasn't a difficult fix, so why not? :)

    --- Mystic BBS v1.12 A44 2020/01/29 (Linux/64)
    * Origin: Sector 7 (21:1/108)