[extensions-web/wip/ne0sight: 1/3] auth: cleanup registration form



commit 43a8e146096b79361b5aa4dbfa5c5519ff5f93d2
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Mon Nov 25 23:51:12 2019 +0400

    auth: cleanup registration form

 po/extensions-web.pot    | 18 +++---------------
 sweettooth/auth/forms.py |  3 ---
 2 files changed, 3 insertions(+), 18 deletions(-)
---
diff --git a/po/extensions-web.pot b/po/extensions-web.pot
index 62b4732..7ddf53d 100644
--- a/po/extensions-web.pot
+++ b/po/extensions-web.pot
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: 1.0\n"
 "Report-Msgid-Bugs-To: ykonotopov gnome org\n"
-"POT-Creation-Date: 2019-11-24 17:14+0000\n"
+"POT-Creation-Date: 2019-11-25 19:54+0000\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -34,18 +34,6 @@ msgstr ""
 msgid "Email"
 msgstr ""
 
-#: sweettooth/auth/forms.py:51 extensions-web-domain-django:1
-msgid "Password"
-msgstr ""
-
-#: sweettooth/auth/forms.py:52 extensions-web-domain-django:1
-msgid "Password confirmation"
-msgstr ""
-
-#: sweettooth/auth/forms.py:53 extensions-web-domain-django:1
-msgid "Enter the same password as above, for verification."
-msgstr ""
-
 #: sweettooth/auth/templates/registration/login.html:23
 #: sweettooth/auth/templates/registration/login_popup_form.html:14
 #: extensions-web-domain-django:1
@@ -345,12 +333,12 @@ msgstr ""
 msgid "Sort by"
 msgstr ""
 
-#: sweettooth/static/js/templates/extensions/comments_list.mst:19
+#: sweettooth/static/js/templates/extensions/comments_list.mst:21
 #: extensions-web-domain-djangojs:1
 msgid "Show more reviews"
 msgstr ""
 
-#: sweettooth/static/js/templates/extensions/comments_list.mst:23
+#: sweettooth/static/js/templates/extensions/comments_list.mst:25
 #: extensions-web-domain-djangojs:1
 msgid "There are no comments. Be the first!"
 msgstr ""
diff --git a/sweettooth/auth/forms.py b/sweettooth/auth/forms.py
index 902c396..f96de74 100644
--- a/sweettooth/auth/forms.py
+++ b/sweettooth/auth/forms.py
@@ -48,9 +48,6 @@ class RegistrationForm(RegistrationFormUniqueEmail):
         error_messages = {'invalid': _("This value may contain only letters, numbers and @/./+/-/_ 
characters.")})
     email = forms.EmailField(widget=forms.TextInput(attrs=dict(maxlength=75)),
                              label=_(u'Email'))
-    password1 = forms.CharField(label=_("Password"), widget=forms.PasswordInput)
-    password2 = forms.CharField(label=_("Password confirmation"), widget=forms.PasswordInput,
-        help_text = _("Enter the same password as above, for verification."))
 
 
 class AutoFocusRegistrationForm(AutoFocusForm, RegistrationForm):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]