##// 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:

r481:5cfdb31b default
r482:930b0a4d default
Show More
.hgignore
59 lines | 790 B | text/plain | TextLexer
syntax: glob
*.egg
*.egg-info
*.idea
*.orig
*.pyc
*.sqlite-journal
*.swp
*.tox
*.DS_Store*
syntax: regexp
#.filename
^\.settings$
^\.project$
^\.pydevproject$
^\.coverage$
^\.cache.*$
^\.rhodecode$
^rcextensions
^_dev
^._dev
^build/
^coverage\.xml$
^data$
^\.eggs/
^configs/data$
^dev.ini$
^acceptance_tests/dev.*\.ini$
^dist/
^fabfile.py
^htmlcov
^junit\.xml$
^node_modules/
^pylint.log$
^rcextensions/
^result$
^rhodecode/public/css/style.css$
^rhodecode/public/js/scripts.js$
^rhodecode\.db$
^rhodecode\.log$
^rhodecode_dev\.log$
^test\.db$
# ac-tests
^acceptance_tests/\.cache.*$
^acceptance_tests/externals
^acceptance_tests/ghostdriver.log$
^acceptance_tests/local(_.+)?\.ini$
# docs
^docs/_build$
^docs/result$
^docs-internal/_build$
# Cythonized things
^rhodecode/.*\.(c|so)$