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
f61e78d1
Commit
f61e78d1
authored
Oct 02, 2014
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
c84b5a4c
8ef18a2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
weblate/accounts/views.py
weblate/accounts/views.py
+7
-0
No files found.
weblate/accounts/views.py
View file @
f61e78d1
...
...
@@ -214,6 +214,13 @@ def user_profile(request):
@
login_required
def
user_remove
(
request
):
if
appsettings
.
DEMO_SERVER
and
request
.
user
.
username
==
'demo'
:
messages
.
warning
(
request
,
_
(
'You can not change demo profile on the demo server.'
)
)
return
redirect
(
'profile'
)
if
request
.
method
==
'POST'
:
remove_user
(
request
.
user
)
...
...
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