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

r2178:34dda1ab default
r2203:8a18c3c3 default
Show More
missing_requirements.mako
32 lines | 1013 B | application/x-mako | MakoHtmlLexer
<%inherit file="/summary/summary_base.mako"/>
<%namespace name="components" file="/summary/components.mako"/>
<%def name="main()">
<div class="title">
${self.repo_page_title(c.rhodecode_db_repo)}
</div>
<div id="repo-summary" class="summary">
${components.summary_detail(breadcrumbs_links=self.breadcrumbs_links(), show_downloads=False)}
${components.summary_stats(gravatar_function=self.gravatar_with_user)}
</div><!--end repo-summary-->
<div class="alert alert-dismissable alert-warning">
<strong>Missing requirements</strong>
Commits cannot be displayed, because this repository uses one or more extensions, which was not enabled. <br/>
Please <a href="${h.route_path('edit_repo_vcs', repo_name=c.repo_name)}">enable extension in settings</a>, or contact the repository owner for help.
Missing extensions could be:
<pre>
- Mercurial largefiles
- Git LFS
</pre>
</div>
</%def>
<%def name="menu_bar_subnav()">
${self.repo_menu(active='summary')}
</%def>