<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Benoit<br>
<br>
An associated question.&nbsp; Do you think that the big long string in the
authentication link sent to the users email address is what is causing
HotMail to send the file to the user's SPAM folder ?&nbsp;&nbsp; If a way could
be found to reduce the number of emails sent to SPAM I think that it
would be a good idea.<br>
<br>
Don<br>
<br>
Benoit Gr&eacute;goire wrote:
<blockquote cite="mid:200804131815.49848.benoitg@coeus.ca" type="cite">
  <pre wrap="">On 11 April 2008, Michael Way wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanks for your tips/comments regarding my issue.

I guess I've given up on the idea of having a simpler token
since I don't have the time (unfortunately) to do the code modifications,
although Benoit makes it sound quite easy! :-)

Still, it would be useful to have potential users have their email
authentication link sent to their sponsors email address (which is on the
inside of our firewall). Unfortunately I discovered that you cannot use the
same email to sign up more than once. Is there a simple way to change this?
I would guess it's one or two lines of code somewhere?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Not really, validation tokens are stored in the user table.  There is a unique 
constraint on email (per network), as the email can be used for login.  To 
allow the feature your want, you'd have to get this validation token to be 
stored in another table, and change all references to it in the code.  Not 
very difficult (and quite possibly a good idea), but definitely more than a 
few lines of code, not to mention the database schema upgrade fragment.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Another more trivial question: Is there a way to set up account
expiration dates,
or a way to expunge an account (you're going to tell me to do it in
postgres I guess)?
I couldn't find a link in the admin web pages that said "delete account",
or "set account expiration". Maybe I'll need to repost this last
question...
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Note that accounts are not meant to be deleted, ever, as this would erase all 
traces of the user's passage in bandwidth statistics, and make dynamic abuse 
control essentially impossible in the future.

Accounts are supposed to end their life by setting their status "LOCKED_OUT".  
That could be done using an expiration date, but most uses that would have 
are best served (and implemented more easily) with one time or persistent 
tokens.



  </pre>
</blockquote>
<br>
</body>
</html>