Prototype: OTP auth, styleguide overhaul, login/session rework
Replace password reset with email OTP verification flow. Add auth_otp module, OTP templates, and email delivery. Expand styleguide CSS with full component library. Rework login, register, and admin views for cookie sessions. Remove legacy 2FA templates and password reset flow. Update SSH wrappers, forms, validators, and middleware.
This commit is contained in:
parent
1dac65fc8a
commit
722c3bd369
38 changed files with 4100 additions and 1835 deletions
|
|
@ -63,8 +63,6 @@ c.template_context['attachment_store'] = {
|
|||
## CSS definitions
|
||||
<%def name="css()">
|
||||
<link rel="stylesheet" type="text/css" href="${h.asset('css/styleguide.css', ver=c.rhodecode_version_hash)}" media="screen"/>
|
||||
<link rel="stylesheet" type="text/css" href="${h.asset('css/filepond.css', ver=c.rhodecode_version_hash)}" media="screen"/>
|
||||
<link rel="stylesheet" type="text/css" href="${h.asset('css/style.css', ver=c.rhodecode_version_hash)}" media="screen"/>
|
||||
## EXTRA FOR CSS
|
||||
${self.css_extra()}
|
||||
</%def>
|
||||
|
|
@ -138,13 +136,9 @@ c.template_context['attachment_store'] = {
|
|||
|
||||
</script>
|
||||
<%include file="/base/plugins_base.mako"/>
|
||||
<!--[if lt IE 9]>
|
||||
<script language="javascript" type="text/javascript" src="${h.asset('js/src/excanvas.min.js')}"></script>
|
||||
<![endif]-->
|
||||
<script language="javascript" type="text/javascript" src="${h.asset('js/rhodecode/routes.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
<script src="${h.asset('js/rhodecode/routes.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
<script> var alertMessagePayloads = ${h.flash.json_alerts(request=request)|n}; </script>
|
||||
## avoide escaping the %N
|
||||
<script language="javascript" type="text/javascript" src="${h.asset('js/scripts.min.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
<script src="${h.asset('js/scripts.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
<script src="${h.asset('js/ajax.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
|
||||
## JAVASCRIPT EXTRA - optionally inject some extra JS for specificed templates
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue