Added account info, shows basic user info, logout based on login strategy.

Clean block_login.
This commit is contained in:
jvelilla
2015-07-10 15:41:39 -03:00
parent 3ea9e36e7c
commit dce3f71be9
9 changed files with 151 additions and 14 deletions

View File

@@ -117,6 +117,7 @@ feature -- Hooks
if attached current_user (a_response.request) as l_user then
a_value.force (l_user, "user")
end
a_value.force ("basic_auth_logoff", "strategy")
end
menu_system_alter (a_menu_system: CMS_MENU_SYSTEM; a_response: CMS_RESPONSE)

View File

@@ -25,10 +25,5 @@
</p>
</div>
</div>
<div>
{foreach item="item" from="$oauth_consumers"}
<a href="{$site_url/}account/login-with-oauth/{$item/}">Login with {$item/}</a><br>
{/foreach}
</div>
{/unless}
</div>