Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
01799e68
Commit
01799e68
authored
3 years ago
by
Tom Teichler
Committed by
root
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix disabling of password change
parent
73247866
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!413
Resolve "User registration"
Pipeline
#11501
failed
3 years ago
Stage: test
Stage: build
Stage: publish
Stage: docker
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/core/templates/account/password_change_disabled.html
+24
-0
24 additions, 0 deletions
aleksis/core/templates/account/password_change_disabled.html
aleksis/core/urls.py
+1
-1
1 addition, 1 deletion
aleksis/core/urls.py
with
25 additions
and
1 deletion
aleksis/core/templates/account/password_change_disabled.html
0 → 100644
+
24
−
0
View file @
01799e68
{% extends "core/base.html" %}
{% load i18n material_form %}
{% block browser_title %}{% trans "Changing of password disabled" %}{% endblock %}
{% block page_title %}{% trans "Changing of password disabled" %}{% endblock %}
{% block content %}
<div
class=
"container"
>
<div
class=
"card red"
>
<div
class=
"card-content white-text"
>
<div
class=
"material-icons small left"
>
error_outline
</div>
<span
class=
"card-title"
>
{% blocktrans %}Changing of password disabled.{% endblocktrans %}
</span>
<p>
{% blocktrans %}
Users are not allowed to edit their own passwords. If you think
this is an error please contact one of your site administrators.
{% endblocktrans %}
</p>
{% include "core/partials/admins_list.html" %}
</div>
</div>
</div>
{% endblock %}
This diff is collapsed.
Click to expand it.
aleksis/core/urls.py
+
1
−
1
View file @
01799e68
...
...
@@ -22,7 +22,7 @@ urlpatterns = [
path
(
settings
.
MEDIA_URL
.
removeprefix
(
"
/
"
),
include
(
"
titofisto.urls
"
)),
path
(
"
about/
"
,
views
.
about
,
name
=
"
about_aleksis
"
),
path
(
"
accounts/logout/
"
,
auth_views
.
LogoutView
.
as_view
(),
name
=
"
logout
"
),
path
(
"
accounts/password/change
"
,
views
.
CustomPasswordChangeView
.
as_view
(),
name
=
"
account_change_password
"
),
path
(
"
accounts/password/change
/
"
,
views
.
CustomPasswordChangeView
.
as_view
(),
name
=
"
account_change_password
"
),
path
(
"
accounts/
"
,
include
(
"
allauth.urls
"
)),
path
(
"
admin/
"
,
admin
.
site
.
urls
),
path
(
"
admin/uwsgi/
"
,
include
(
"
django_uwsgi.urls
"
)),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment