Updated account info, using a to link users to login form.
Removed unneeded file.
This commit is contained in:
@@ -61,9 +61,7 @@
|
|||||||
{unless isset="$user"}
|
{unless isset="$user"}
|
||||||
<div>
|
<div>
|
||||||
<p> You are not logged in </p>
|
<p> You are not logged in </p>
|
||||||
<form method="get" action="{$site_url/}{$auth.login/}">
|
<a href="{$site_url/}account/roc-login">Go to the login page</a>
|
||||||
<button type="submit">Login</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
{/unless}
|
{/unless}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -102,9 +102,6 @@ feature -- Hooks configuration
|
|||||||
value_table_alter (a_value: CMS_VALUE_TABLE; a_response: CMS_RESPONSE)
|
value_table_alter (a_value: CMS_VALUE_TABLE; a_response: CMS_RESPONSE)
|
||||||
-- <Precursor>
|
-- <Precursor>
|
||||||
do
|
do
|
||||||
if attached current_user (a_response.request) as l_user then
|
|
||||||
a_value.force (l_user, "user")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
note
|
|
||||||
description: "Summary description for {CMS_LOGIN_FORM}."
|
|
||||||
author: ""
|
|
||||||
date: "$Date$"
|
|
||||||
revision: "$Revision$"
|
|
||||||
|
|
||||||
class
|
|
||||||
CMS_LOGIN_FORM
|
|
||||||
|
|
||||||
end
|
|
||||||
@@ -61,9 +61,7 @@
|
|||||||
{unless isset="$user"}
|
{unless isset="$user"}
|
||||||
<div>
|
<div>
|
||||||
<p> You are not logged in </p>
|
<p> You are not logged in </p>
|
||||||
<form method="get" action="{$site_url/}{$auth.login/}">
|
<a href="{$site_url/}account/roc-login">Go to the login page</a>
|
||||||
<button type="submit">Login</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
{/unless}
|
{/unless}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user