diff --git a/fas/fas.cfg b/fas/fas.cfg index b229dd1..8942dbd 100644 --- a/fas/fas.cfg +++ b/fas/fas.cfg @@ -10,7 +10,7 @@ legal_cla_email = "nobody@fedoraproject.org" email_host = "fedoraproject.org" # as in, web-members@email_host gpgexec = "/usr/bin/gpg" -gpghome = "/srv/fedora-infrastructure/fas/gnupg" +gpghome = "/home/ricky/work/fedora/fedora-infrastructure/fas/gnupg" gpg_fingerprint = "C199 1E25 D00A D200 2D2E 54D1 BF7F 1647 C54E 8410" gpg_passphrase = "m00!s@ysth3c0w" gpg_keyserver = "hkp://subkeys.pgp.net" @@ -83,7 +83,7 @@ tg.strict_parameters = True server.webpath='/accounts' base_url_filter.on = True base_url_filter.use_x_forwarded_host = True -base_url_filter.base_url = "https://publictest3.fedoraproject.org/accounts" +base_url_filter.base_url = "http://localhost:8088/accounts" # Make the session cookie only return to the host over an SSL link # Disabled for testing. diff --git a/fas/fas/model.py b/fas/fas/model.py index c345665..6b312ca 100644 --- a/fas/fas/model.py +++ b/fas/fas/model.py @@ -247,17 +247,16 @@ class People(SABase): # Only admins can see internal_comments del props['internal_comments'] del props['emailtoken'] + del props['passwordtoken'] if identity.current.anonymous: # Anonymous users can't see any of these del props['email'] - del props['emailtoken'] del props['unverified_email'] del props['ssh_key'] del props['gpg_keyid'] del props['affiliation'] del props['certificate_serial'] del props['password'] - del props['passwordtoken'] del props['password_changed'] del props['postal_address'] del props['telephone'] @@ -267,7 +266,6 @@ class People(SABase): # Only an admin or the user themselves can see these fields del props['unverified_email'] del props['password'] - del props['passwordtoken'] del props['postal_address'] del props['password_changed'] del props['telephone'] diff --git a/fas/fas/templates/user/resetpass.html b/fas/fas/templates/user/resetpass.html index 12c1a9e..d110add 100644 --- a/fas/fas/templates/user/resetpass.html +++ b/fas/fas/templates/user/resetpass.html @@ -8,7 +8,7 @@

${_('Reset Password')}

-
+