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

r727:912a8f06 default
r2203:8a18c3c3 default
Show More
rhodecode-toggle.html
20 lines | 890 B | text/html | HtmlLexer
rhodecode-toggle: stub for new UI element
r715 <link rel="import" href="../../../../../../bower_components/paper-toggle-button/paper-toggle-button.html">
components: completed rhodecode-toggle for notification settings
r727 <link rel="import" href="../../../../../../bower_components/paper-spinner/paper-spinner.html">
<link rel="import" href="../../../../../../bower_components/paper-tooltip/paper-tooltip.html">
rhodecode-toggle: stub for new UI element
r715
<dom-module id="rhodecode-toggle">
components: completed rhodecode-toggle for notification settings
r727
<style include="shared-styles"></style>
<link rel="stylesheet" href="rhodecode-toggle.css">
rhodecode-toggle: stub for new UI element
r715 <template>
components: completed rhodecode-toggle for notification settings
r727 <div class="rc-toggle">
<paper-toggle-button checked={{checked}}>[[labelStatus(checked)]]</paper-toggle-button>
<paper-tooltip>[[tooltipText]]</paper-tooltip>
<template is="dom-if" if="[[shouldShow(noSpinner)]]">
<paper-spinner active=[[active]]></paper-spinner>
</template>
</div>
rhodecode-toggle: stub for new UI element
r715 </template>
<script src="rhodecode-toggle.js"></script>
components: completed rhodecode-toggle for notification settings
r727 </dom-module>