##// END OF EJS Templates
auth: Fix password_changed function, fixes #4043....
auth: Fix password_changed function, fixes #4043. Never repot a changed password for default or anonymous users. If anonymous access is disabled we don't get the default user here so we also have to check if it is the anonymous user. In both cases (default user and anonymous user) we can skip the password change check and return False.

File last commit:

r381:835a8b3a default
r482:930b0a4d default
Show More
Makefile
47 lines | 1.2 KiB | text/x-makefile | MakefileLexer
project: added all source files and assets
r1
WEBPACK=./node_modules/webpack/bin/webpack.js
GRUNT=grunt
NODE_PATH=./node_modules
FLAKE8=flake8 setup.py pytest_pylons/ rhodecode/ --select=E124 --ignore=E711,E712,E510,E121,E122,E126,E127,E128,E501,F401 --max-line-length=100 --exclude=*rhodecode/lib/dbmigrate/*,*rhodecode/tests/*,*rhodecode/lib/vcs/utils/*
CI_PREFIX=enterprise
makefile: added commands to quickly build docs.
r13 .PHONY: docs docs-clean ci-docs clean test test-clean test-lint test-only
docs:
(cd docs; nix-build default.nix -o result; make clean html)
project: added all source files and assets
r1
makefile: added commands to quickly build docs.
r13 docs-clean:
(cd docs; make clean)
ci-docs: docs;
project: added all source files and assets
r1
clean: test-clean
find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' \) -exec rm '{}' ';'
makefile: disable linting tests, they should be executed manually if required
r381 test: test-clean test-only
project: added all source files and assets
r1
test-clean:
rm -rf coverage.xml htmlcov junit.xml pylint.log result
test-lint:
if [ "$$IN_NIX_SHELL" = "1" ]; then \
$(FLAKE8); \
else \
$(FLAKE8) --format=pylint --exit-zero > pylint.log; \
fi
test-only:
PYTHONHASHSEED=random py.test -vv -r xw --cov=rhodecode --cov-report=term-missing --cov-report=html rhodecode/tests/
web-build:
NODE_PATH=$(NODE_PATH) $(GRUNT)
web-test:
@echo "no test for our javascript, yet!"
docs-bootstrap:
(cd docs; nix-build default.nix -o result)
@echo "Please go to docs folder and run make html"
makefile: added commands to quickly build docs.
r13