User Security Manager
Authenticate new feature placeholder?
Gravatar is a globally recognized avatar based on your email address. Authenticate new feature placeholder?
  Richard Kaye
  All
  Jun 23, 2020 @ 08:42am

Hi Rick,

In the authenticate method there is this little code block:

TRY  
   *** New feature so bracket  
   THIS.oUser.Validate = ""  
CATCH  
ENDTRY  

What is the intended use of this?

Gravatar is a globally recognized avatar based on your email address. re: Authenticate new feature placeholder?
  Rick Strahl
  Richard Kaye
  Jun 23, 2020 @ 12:58pm

It's already in use and used for email validation. Until the email is validated that field will have an id in it and until the user matches that ID on the form link that is sent to them, the account is inactive.

It's a flag in the UserSecurity configuration whether that's enabled or not.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Authenticate new feature placeholder?
  Richard Kaye
  Rick Strahl
  Jun 23, 2020 @ 01:33pm

Ah. I get it now. My little brain was confused why setting a property to a null string could cause an exception and thought there was some other hidden magic.

© 1996-2024