• emailval.js

    From Mortifis@VERT/ALLEYCAT to All on Saturday, July 13, 2019 12:04:47
    anyone know how to have emailval.js update a validated users expiration date? I added the line "user.security.expiration_date = "00/00/00"; to emailval.js but it didn't update the user record ... all it did was make my beer warm.



    When life gets tough, drop a gear and disappear!

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
  • From Mortifis@VERT/ALLEYCAT to All on Saturday, July 13, 2019 12:37:07
    anyone know how to have emailval.js update a validated users expiration date? I added the line "user.security.expiration_date = "00/00/00"; to emailval.js but it didn't update the user record ... all it did was make my beer warm.

    My bad, it took me a minute to realize that user.security.expiration_date has a built in calculator for unixtime so I changed the line to user.security.expiration_date = user.security.expiration_date + 31536000 (seconds in 365 days) to add a year and it worked ... :-/





    When life gets tough, drop a gear and disappear!

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
  • From Mortifis@VERT/ALLEYCAT to Digital Man on Saturday, July 20, 2019 11:20:23
    I was wondering if adding the unused Z restrictions/exemptions UFLAG could be used for a forced email validation if(email_validation == true);

    Just a thought.


    My teachers always said "You can't make a living looking out a window!", they were wrong, I drive truck :-P

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
  • From Digital Man@VERT to Mortifis on Saturday, July 20, 2019 11:36:01
    Re: emailval.js
    By: Mortifis to Digital Man on Sat Jul 20 2019 11:20 am

    I was wondering if adding the unused Z restrictions/exemptions UFLAG could be used for a forced email validation if(email_validation == true);

    Just a thought.

    Sure, pretty much anything's possible. I don't see an "exemption" really applying. But I think just making a configurable flags1-4 flag for that purpose would be better.

    digital man

    This Is Spinal Tap quote #5:
    Nigel Tufnel: Authorities said... best leave it... unsolved.
    Norco, CA WX: 75.5øF, 60.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net