Compare commits
No commits in common. "02919af20b385f74cb95c0f07126faabcf5990b7" and "6738203219feb53aa482802c21f22a6ec0e60784" have entirely different histories.
02919af20b
...
6738203219
1 changed files with 19 additions and 19 deletions
|
|
@ -20,7 +20,6 @@
|
||||||
<div metal:fill-slot="body"
|
<div metal:fill-slot="body"
|
||||||
tal:define="principal python:request.principal.id;
|
tal:define="principal python:request.principal.id;
|
||||||
camefrom python:request.get('camefrom') or request.URL[-1]">
|
camefrom python:request.get('camefrom') or request.URL[-1]">
|
||||||
baseUrl python:request.URL[-1];
|
|
||||||
|
|
||||||
<p i18n:translate="" tal:condition="python: principal == 'zope.anybody'">
|
<p i18n:translate="" tal:condition="python: principal == 'zope.anybody'">
|
||||||
Please provide Login Information</p>
|
Please provide Login Information</p>
|
||||||
|
|
@ -29,14 +28,15 @@
|
||||||
different user who is authorized.</p>
|
different user who is authorized.</p>
|
||||||
<p i18n:domain="loops"
|
<p i18n:domain="loops"
|
||||||
tal:condition="view/oidc_allowed">
|
tal:condition="view/oidc_allowed">
|
||||||
<a tal:attributes="href string:$baseUrl/@@auth_login?camefrom=$camefrom"
|
<a tal:attributes="href string:/@@auth_login?camefrom=$camefrom"
|
||||||
i18n:translate="login-with-oidc">Login with OpenID Connect (Zitadel)</a>
|
i18n:translate="login-with-oidc">Login with OpenID Connect (Zitadel)</a>
|
||||||
</p>
|
</p>
|
||||||
<form action="." method="post"
|
<form action="." method="post"
|
||||||
tal:attributes="action request/URL">
|
tal:attributes="action request/URL">
|
||||||
<div tal:omit-tag=""
|
<div tal:omit-tag=""
|
||||||
tal:condition="python:principal != 'zope.anybody' and 'SUBMIT' in request">
|
tal:condition="python:principal != 'zope.anybody' and 'SUBMIT' in request">
|
||||||
<span tal:define="dummy python:request.response.redirect(camefrom)" />
|
<span tal:define="dummy python:
|
||||||
|
request.response.redirect(request.get('camefrom') or request.URL[-1])" />
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="label" i18n:translate="">User Name</div>
|
<div class="label" i18n:translate="">User Name</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue