Powered by slightly modified MediaWiki and TED Notepad.

Dev:Classes/Users/UnverifiedMail

Image:Classes - Users.png

Navigation: Dev:Classes | Dev:Classes/Users.


Uzivatelova neoverena e-mailova adresa. Aby mohol system zasielat uzivatelovi notifikacie, musi najskuor uzivatel zadanu e-mailovu adresu potvrdit kliknutim na link v zaslanom potvrdzovacom e-maile. Do doby, nez sa tak stane plati stara uzivatelova adresa (pokial mal nejaku zadanu).

Poznamka: System by mal po nejakej pevnej dobe tieto nepotvrdene adresy automaticky rusit.

Atributy

name type description
user
Users|UnverifiedMail|user
link Uzivatel, ktory e-mailovu adresu zadal.
email
Users|UnverifiedMail|email
string Zadana e-mailova adresa.
hash
Users|UnverifiedMail|hash
string Vygenerovany potvrdzovaci hash (32 znakov).

Poznamka: Hash by mal byt tazko predpovedatelny.. generovany z nahodnej veliciny:

md5 (uniqid (rand (), true));
added
Users|UnverifiedMail|added
datetime Datum a cas, kedy bol hash vygenerovany.