##// END OF EJS Templates
auth: don't break hashing in case of user with empty password....
auth: don't break hashing in case of user with empty password. In some cases such as LDAP user created via external scripts users might set the passwords to empty. The hashing uses the md5(password_hash) to store reference to detect password changes and forbid using the same password. In case of pure LDAP users this is not valid, and we shouldn't raise Errors in such case. This change makes it work for empty passwords now.

File last commit:

r271:401985cc default
r2203:8a18c3c3 default
Show More
dev-settings.rst
46 lines | 959 B | text/x-rst | RstLexer

Settings for Development

We have a few settings which are intended to be used only for development purposes. This section contains an overview of them.

debug_style

Enables the section "Style" in the application. This section provides an overview of all components which are found in the frontend of the application.

vcs.start_server

Starts the server as a subprocess while the system comes up. Intended usage is to ease development.

[logging]

Use this to configure logging to your current needs. The documentation of Python's logging module explains all of the details. The following snippets are useful for day to day development work.

Mute SQL output

They come out of the package sqlalchemy.engine:

[logger_sqlalchemy]
level = WARNING
handlers = console_sql
qualname = sqlalchemy.engine
propagate = 0