Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
22f5c7c2
Commit
22f5c7c2
authored
Oct 09, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop no longer used reset views
parent
0c28fbf7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
96 deletions
+0
-96
accounts/urls.py
accounts/urls.py
+0
-27
weblate/html/registration/password_reset_complete.html
weblate/html/registration/password_reset_complete.html
+0
-10
weblate/html/registration/password_reset_confirm.html
weblate/html/registration/password_reset_confirm.html
+0
-23
weblate/html/registration/password_reset_done.html
weblate/html/registration/password_reset_done.html
+0
-9
weblate/html/registration/password_reset_email.html
weblate/html/registration/password_reset_email.html
+0
-14
weblate/html/registration/password_reset_form.html
weblate/html/registration/password_reset_form.html
+0
-13
No files found.
accounts/urls.py
View file @
22f5c7c2
...
...
@@ -19,39 +19,12 @@
#
from
django.conf.urls
import
patterns
,
url
,
include
from
django.utils.translation
import
ugettext_lazy
as
_
from
django.contrib.auth
import
views
as
auth_views
from
accounts.views
import
RegistrationTemplateView
urlpatterns
=
patterns
(
''
,
url
(
r'^password/reset/$'
,
auth_views
.
password_reset
,
{
'extra_context'
:
{
'title'
:
_
(
'Password reset'
)}},
name
=
'auth_password_reset'
),
url
(
r'^password/reset/confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$'
,
auth_views
.
password_reset_confirm
,
{
'extra_context'
:
{
'title'
:
_
(
'Password reset'
)}},
name
=
'auth_password_reset_confirm'
),
url
(
r'^password/reset/complete/$'
,
auth_views
.
password_reset_complete
,
{
'extra_context'
:
{
'title'
:
_
(
'Password reset'
)}},
name
=
'auth_password_reset_complete'
),
url
(
r'^password/reset/done/$'
,
auth_views
.
password_reset_done
,
{
'extra_context'
:
{
'title'
:
_
(
'Password reset'
)}},
name
=
'auth_password_reset_done'
),
url
(
r'^email-sent/$'
,
RegistrationTemplateView
.
as_view
(
...
...
weblate/html/registration/password_reset_complete.html
deleted
100644 → 0
View file @
0c28fbf7
{% extends "base.html" %}
{% load i18n %}
{% block content %}
<p>
{% trans "Your password has been set. You may go ahead and log in now." %}
</p>
<p><a
href=
"{{ login_url }}"
>
{% trans 'Log in' %}
</a></p>
{% endblock %}
weblate/html/registration/password_reset_confirm.html
deleted
100644 → 0
View file @
0c28fbf7
{% extends "base.html" %}
{% load i18n %}
{% block content %}
{% if validlink %}
<p>
{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}
</p>
<form
action=
""
method=
"post"
>
{% csrf_token %}
<table>
{{ form.as_table }}
</table>
<input
type=
"submit"
value=
"{% trans 'Change my password' %}"
class=
"button"
/>
</form>
{% else %}
<p>
{% trans "The password reset link is invalid, possibly because it has already been used. Please request a new password reset." %}
</p>
{% endif %}
{% endblock %}
weblate/html/registration/password_reset_done.html
deleted
100644 → 0
View file @
0c28fbf7
{% extends "base.html" %}
{% load i18n %}
{% block content %}
<p>
{% trans "We've e-mailed you instructions for setting your password to the e-mail address you submitted. You should be receiving it shortly." %}
</p>
{% endblock %}
weblate/html/registration/password_reset_email.html
deleted
100644 → 0
View file @
0c28fbf7
{% load i18n %}{% load url from future %}{% autoescape off %}
{% blocktrans %}You're receiving this e-mail because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}
{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
{{ protocol }}://{{ domain }}{% url 'django.contrib.auth.views.password_reset_confirm' uidb36=uid token=token %}
{% endblock %}
{% trans "Your username, in case you've forgotten:" %} {{ user.username }}
{% trans "Thanks for using our site!" %}
{% blocktrans %}The {{ site_name }} team{% endblocktrans %}
{% endautoescape %}
weblate/html/registration/password_reset_form.html
deleted
100644 → 0
View file @
0c28fbf7
{% extends "base.html" %}
{% load i18n %}
{% block content %}
<p>
{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}
</p>
<form
action=
""
method=
"post"
>
{% csrf_token %}
{{ form.as_p }}
<input
type=
"submit"
value=
"{% trans 'Reset my password' %}"
class=
"button"
/>
</form>
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment