[jadmin] Hash and Token, are really important?
Ivo Vachkov
ivachkov at sofiasoftsolutions.com
Fri Dec 8 09:36:39 CST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ed ed wrote:
> I am writing a PHP script to register new users from a web site, but I
> can't figure out how to generate a new hash and token to insert into
> the authreg table. Is it really important or I can just carry on
> without a Hash for these users?
I have:
mysql> select * from authreg;
+------------+------------------------+----------------------+-------+----------+------+
| username | realm | password | token |
sequence | hash |
+------------+------------------------+----------------------+-------+----------+------+
| admin | host.domain.com | ******** | NULL | NULL | NULL |
| user1 | host.domain.com | ******** | NULL | NULL | NULL |
| user2 | host.domain.com | ******** | NULL | NULL | NULL |
and it works nice. Btw, I'm using Jabberd2.
/ipv
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFeYaHDqLva/B4E1ARApjJAJ9CKHphbkIl9HcSH4arWWhO0Z8q4gCgkitp
czd3bE1zy27OHWtzwQxs15g=
=l92u
-----END PGP SIGNATURE-----
More information about the JAdmin
mailing list