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

r1:854a839a default
r482:930b0a4d default
Show More
pytest.ini
12 lines | 454 B | text/x-ini | IniLexer
[pytest]
testpaths = ./rhodecode
pylons_config = test.ini
vcsserver_protocol = pyro4
vcsserver_config = rhodecode/tests/vcsserver.ini
vcsserver_config_http = rhodecode/tests/vcsserver_pyramid.ini
norecursedirs = tests/scripts
addopts = -k "not _BaseTest"
markers =
vcs_operations: Mark tests depending on a running RhodeCode instance.
xfail_backends: Mark tests as xfail for given backends.
skip_backends: Mark tests as skipped for given backends.