-----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/B4E1ARApjJAJ9CKHphbkIl9HcSH4arWWhO0Z8q4gCg
kitp
czd3bE1zy27OHWtzwQxs15g=
=l92u
-----END PGP SIGNATURE-----
_______________________________________________
JAdmin mailing list
JAdmin jabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
|