• Re: emailval.js

    From Mortifis@1:229/2 to All on Saturday, July 13, 2019 12:37:07
    From: mortifis@ALLEYCAT.remove-3cp-this

    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
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Mortifis@1:229/2 to All on Saturday, July 13, 2019 12:04:47
    From: mortifis@ALLEYCAT.remove-1na-this

    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
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Mortifis@1:229/2 to All on Saturday, July 20, 2019 11:20:23
    From: mortifis@ALLEYCAT.remove-hnv-this

    To: Digital Man
    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
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Saturday, July 20, 2019 11:36:01
    From: digital.man@vert.synchro.net.remove-fg6-this

    To: Mortifis
    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 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)