Re: How do I reset the Seaside administrator password? (Pharo2, Seaside 3.0.10)

David Tibbe <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hi Johannes,

the preference is named #passwordHash. As the name indicates, the
password is stored in non-plaintext, so you have to use the following:

(WADispatcher default entryPointAt: 'config')
	preferenceAt: #passwordHash put: (GRPlatform current secureHashFor:
'new id').


In Seaside 3.1, #entryPointAt: will not work anymore, so you may use
#handlerAt: instead.

BR,
  David

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
signature.asc (application/pgp-signature, 834 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQIcBAEBAgAGBQJW7pWdAAoJEFNd+fiWXD8zPY0P/2LzP/ZUdqgwQIOT0BpX6djK
zQ5kdn9I7qIgMVPR32EnkXsExN2gf1Z7rhV/XfnetbTLTGi6MANikD5ZLsuN7GTE
wExsnZOYv2/hkF/fqCoDlpa4Tpj4K7iEnYSeb5JU4ufeGACa/CIT5ksagaX0QGtZ
FIqyDj8hdtMos5+NzDlTGK9o2juLZq7ezUS0b5wMXv1tzEu4BIwDeALoXWBMf0zQ
cmWVEpVK49lqezrpJJWlIgUw0Pun4umfzf0z2N1GgFMv0oofPGCm9Xcc7Nwff1HL
eB1keSDaIn00i6fSTEMP9RhXjnbHa0tyQHNqaBxkfg+fQwjemXwWKT7hZiGT12pM
MbSojv48ZkF9eyJgybQq9GJa0A2hBOHqc/v6tCpcGk4mK49AEeXuK2tLZqy7Ux/D
OHnOPfZUACdm2JNfo1bnIc/i6x+dHwWHk7OmSWBbM3Jl0JtYHO7ppG5O8Jimmxmn
UZk7iSWzxj3P+Q5GX3xNNI31ur/MRR4zbjUVtOHoiSRFev+7G5vdqjg59yt0ZnMn
jW00lg82z2O/+hjE5wLXYej1GPE9HejfxQ1EZ9jvanxuJws7zMk/8Z7J89Kvt+r5
04XWMVBcpohri1/bvldhSyxAypkpI3EDdPVUijKfZR87FGk1uAwZNR7GOeQhNGyf
cbQSiDEvE038ce0P+5mM
=MD1O
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.