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"}
|
||||
<div>
|
||||
<p> You are not logged in </p>
|
||||
<form method="get" action="{$site_url/}{$auth.login/}">
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
||||
<a href="{$site_url/}account/roc-login">Go to the login page</a>
|
||||
</div>
|
||||
{/unless}
|
||||
</div>
|
||||
|
||||
@@ -102,9 +102,6 @@ feature -- Hooks configuration
|
||||
value_table_alter (a_value: CMS_VALUE_TABLE; a_response: CMS_RESPONSE)
|
||||
-- <Precursor>
|
||||
do
|
||||
if attached current_user (a_response.request) as l_user then
|
||||
a_value.force (l_user, "user")
|
||||
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"}
|
||||
<div>
|
||||
<p> You are not logged in </p>
|
||||
<form method="get" action="{$site_url/}{$auth.login/}">
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
||||
<a href="{$site_url/}account/roc-login">Go to the login page</a>
|
||||
</div>
|
||||
{/unless}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user